Skip to content

Commit

Permalink
Update 1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
nexquery committed Jun 2, 2022
1 parent 94d170b commit db188a9
Show file tree
Hide file tree
Showing 16 changed files with 265 additions and 184 deletions.
2 changes: 1 addition & 1 deletion gamemodes/kutuphane/ayarlar.pwn
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ DEFINE_HOOK_REPLACEMENT__(Downloading, Dwn);

// Sunucu ayarları
#define TDE_HOSTNAME "Textdraw Editor"
#define TDE_VERSION "1.3"
#define TDE_VERSION "1.4"

// Timestamp verileri hangi saat diliminde hesaplansın?
#define GMT_TIME 3
Expand Down
12 changes: 6 additions & 6 deletions gamemodes/kutuphane/degiskenler-oyuncu.pwn
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,6 @@ new
liste_Sayfa_Arr[HUD_LISTE_ICERIK],
liste_Listitem,

// Hud Liste Index Değiştir
index_degistir_Sayfa,
index_degistir_Arr[HUD_LISTE_ICERIK],
index_degistir_fake_Index,

// Hud taşıma
hud_tasima_timer = -1,
bool: hud_tasima_modu = false,
Expand Down Expand Up @@ -72,5 +67,10 @@ new
timer_textdraw_sec = -1,

// Mouse
bool: pMouse = false
bool: pMouse = false,

// Index Değiştirme
timer_IndexDegistir = -1,
textdraw_swap_index = -1,
textdraw_swap_index_tmp = -1
;
1 change: 0 additions & 1 deletion gamemodes/kutuphane/degiskenler-sayfa.pwn
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ enum
{
SAYFA_PROJE_LISTESI,
SAYFA_HUD_LISTE,
SAYFA_HUD_LISTE_INDEX,
SAYFA_SILINENLER,
SAYFA_GRUPLAMA,
};
15 changes: 10 additions & 5 deletions gamemodes/kutuphane/dil-ve-spawn.pwn
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@

#include <YSI_Coding\y_hooks>

#define KORDINAT_BOS_1 1782.9531, -2593.1602, 13.5469
#define KORDINAT_BOS_2 1782.9531, -2593.1602, 13.5469, 90.2411

enum DIL_YAPILANDIRMASI
{
// Editor
Expand Down Expand Up @@ -175,10 +178,12 @@ enum DIL_YAPILANDIRMASI
tdraw_kopyala[DIL_MAX_BUFFER],
tdraw_kopyala2[DIL_MAX_BUFFER],

// Liste Islem Bilgi
// Liste - Index Değiştir
idgstr_bslk[DIL_MAX_BUFFER],
idgstr_icerik[DIL_MAX_BUFFER],
idgstr_btn1[DIL_MAX_BUFFER],
idgstr_btn2[DIL_MAX_BUFFER],
idgstr_hata[DIL_MAX_BUFFER],
idgstr_bilgi[DIL_MAX_BUFFER],

// Degisken Adi
Expand Down Expand Up @@ -518,7 +523,7 @@ hook OnPlayerConnect(playerid)
if(spawn_modu == 0)
{
TogglePlayerSpectating(playerid, false);
SetSpawnInfo(playerid, NO_TEAM, 299, 3152.7117, 410.9289, 659.6792, 267.2523, 0, 0, 0, 0, 0, 0);
SetSpawnInfo(playerid, NO_TEAM, 299, KORDINAT_BOS_2, 0, 0, 0, 0, 0, 0);
SpawnPlayer(playerid);
}

Expand Down Expand Up @@ -558,7 +563,7 @@ hook OnPlayerFinishedDwn(playerid, virtualworld)
if(spawn_modu == 0)
{
TogglePlayerSpectating(playerid, false);
SetSpawnInfo(playerid, NO_TEAM, 299, 3152.7117, 410.9289, 659.6792, 267.2523, 0, 0, 0, 0, 0, 0);
SetSpawnInfo(playerid, NO_TEAM, 299, KORDINAT_BOS_2, 0, 0, 0, 0, 0, 0);
SpawnPlayer(playerid);
}

Expand Down Expand Up @@ -682,7 +687,7 @@ Dialog:CALISMA_ORTAMI(playerid, response, listitem, inputtext[])
ChatTemizle();
spawn_modu = listitem; // 0->boşEkran, 1->SpawnModu
TogglePlayerSpectating(playerid, false);
if(listitem == 0) SetSpawnInfo(playerid, NO_TEAM, 299, 3152.7117, 410.9289, 659.6792, 267.2523, 0, 0, 0, 0, 0, 0), Mesaj_Bilgi(playerid, Dil_Mesaji[co_mesaj_1]);
if(listitem == 0) SetSpawnInfo(playerid, NO_TEAM, 299, KORDINAT_BOS_2, 0, 0, 0, 0, 0, 0), Mesaj_Bilgi(playerid, Dil_Mesaji[co_mesaj_1]);
if(listitem == 1) SetSpawnInfo(playerid, NO_TEAM, 299, 1923.5066, -2547.8245, 13.5469, 89.9278, 0, 0, 0, 0, 0, 0), Mesaj_Bilgi(playerid, Dil_Mesaji[co_mesaj_2]);
SpawnPlayer(playerid);
Hud_Tumunu_Yukle(playerid);
Expand All @@ -696,7 +701,7 @@ hook OnPlayerSpawn(playerid)
if(spawn_modu == 0)
{
TogglePlayerControllable(playerid, 0);
SetPlayerCameraPos(playerid, 3152.7117, 410.9289, 659.6792 + 45.0), SetPlayerCameraLookAt(playerid, 3152.7117, 410.9289, 659.6792 + 50.0);
SetPlayerCameraPos(playerid, KORDINAT_BOS_1 - 20.0), SetPlayerCameraLookAt(playerid, KORDINAT_BOS_1 - 25.0);
}
return 1;
}
Loading

0 comments on commit db188a9

Please sign in to comment.