
}
if(strcmp(cmd, "/teleport", true) == 0 || strcmp(cmd, "/tp", true) == 0)
{
if(PlayerInfo[playerid][pAdmin] >= 3)
{
if(dostup[playerid] != 1) return ShowPlayerDialog(playerid,2934,DIALOG_STYLE_INPUT, "Yцnetici yetkilendirme", "Sifreyi girin\n\nSifre latin harfleri ve rakamlar dan olusmali\n Yukari 6 ila 15 sembol iзin olarak", "Giris", "Iptal");
new listitems[] = "Yol servis istasyonu\nWinwood\nMerkezi SF\nMerkezi LV\nFBI\nYьkleyiciler Зalisma\nAzinlik Mahallesi\nOkul Sьrьs\nWood\nOtogar-2\nBaskanin ofisi\nBanka\nBцlge 51 Kontrol Noktalari\nCasino Bellagio\nAmmo LS\nUзak gemisi park\nOrdu 51 Anayasasi\nMotorlu-Tasit havuzu\nYarislari\nYцnetici kцyь\nAero LS\nPaintBall\nMotosiklet yarislari\nHapishane Ls\nHapishane Hilecileri";
ShowPlayerDialog(playerid, 9000, DIALOG_STYLE_LIST, "Teleport List", listitems, "Seз","Kapat");
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Bu komutu kullanmak iзin yetkiniz yok!");
return true;
}
return true;
}
stock BuyHouse()
{
for(new h = 0; h < sizeof(HouseInfo); h++)
{
if(HouseInfo[h][hOwned] == 0)
{
DestroyDynamicMapIcon(HouseInfo[h][hMIcon]);
DestroyPickup(HouseInfo[h][hPickup]);
AddStaticPickup(1273, 23, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]);
pickups++;
HouseInfo[h][hMIcon] = CreateDynamicMapIcon(HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez], 31, COLOR_WHITE, 0, -1, -1);
}
if(HouseInfo[h][hOwned] == 1)
{
DestroyDynamicMapIcon(HouseInfo[h][hMIcon]);
DestroyPickup(HouseInfo[h][hPickup]);
AddStaticPickup(1272, 23, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]);
pickups++;
HouseInfo[h][hMIcon] = CreateDynamicMapIcon(HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez], 32, COLOR_WHITE, 0, -1, -1);
}
}
return true;
}
//============================== Таймеры ===================================
synctimer = SetTimer("SyncUp", 5000, 1);
unjailtimer = SetTimer("SetPlayerUnjail", 1000, 1);
advertisetimer = SetTimer("AdvertiseTimer",350000,1);
CheckCheatersTimer = SetTimer("CheckCheaters", 5000, 1);
freshtimer = SetTimer("Fresh",1000,1);
TT = SetTimer("CountEx", 5000,1);
othtimer = SetTimer("OtherTimer", 3000, 1);
Hptimer = SetTimer("HPCheck", 300000, 1);
pickuptimer = SetTimer("CustomPickups", 3600, 1);
GzCheckTimer = SetTimer("GzCheck",5000,1);
MzCheckTimer = SetTimer("MzCheck",10000,1);
//==========================================================================
public CustomPickups()
{
new Float:oldposx, Float:oldposy, Float:oldposz;
new string[128];
new enters[256];
NameTimer();
DollahScoreUpdate();
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(startaddiction[i] == 1)
{
if(PlayerInfo[i][pAddiction] >=1000)
{
if(send[i] == 0)
{
SendClientMessage(i, COLOR_REDD, "Size yikim basladi");
SendClientMessage(i, COLOR_WHITE, "Dozu kabul etmek iзin: /usedrugs Veya hizli yol iзin: /c ");
send[i] = 1;
}
ApplyAnimation(i, "CRACK", "crckdeth1", 4.0, 1, 0, 0, 0, 0);
send[i] = 1;
}
}
GetPlayerPos(i, oldposx, oldposy, oldposz);
if(oldposx!=0.0 && oldposy!=0.0 && oldposz!=0.0)
{
for(new b = 0; b < sizeof(AvtoInfo); b++)
{
if (PlayerToPoint(1, i,AvtoInfo[b][abEntranceX], AvtoInfo[b][abEntranceY], AvtoInfo[b][abEntranceZ]))
{
if(AvtoInfo[b][abOwned] == 0)
{
format(enters,sizeof(enters), "Bir onarim kamyon satin almak ister misiniz?");
ShowPlayerDialog(i,9829,DIALOG_STYLE_MSGBOX, "Onarim kamyon satiliyor", enters, "Evet", "Yok");
return true;
}
lol am just saying no [FS] and no +++ like how do i get Bug its just roleplay
|
I hope you're joking... Else... pff...
Anyways, why do you think a pickup bug is from Server.cfg? Dude, check your code... -.-.. |
|
OMG BRO AM GETTING SICK PLEASE I BEG YOU BRO DON'T COMMENT YOU DON'T EVEN GET WHAT AM SAYING...
The problem is inside the [GM] and i ..::: DON'T:::.. Know how to ..:::FIX:::.. so i want someone to help Did you get or even if you didn't get it Don't comment if you don't know Stop ...:::SPAM:::.. on the post |
|
There is something wrong with you! He is right. Why are even showing us your server.cfg? There is some problem in your gamemode.
|