[Ajuda] /payday Bugado [AJUDA] - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] /payday Bugado [AJUDA] (
/showthread.php?tid=447299)
/payday Bugado [AJUDA] -
MaTeuS_FeLiPe - 29.06.2013
Уla venho aqui no forum pedir suas ajudas por um bug aqui no gm.
>>BrasilPlayCity <<
o Payday automatico nгo aparece ai tenho que dar manual mas da crash.
Quando dou /payday manual da crash e fecha o samp.
Mim ajuda por favor.
Код:
if(strcmp(cmd, "/payday", true) == 0)
{
if (PlayerInfo[playerid][pAdmin] >= 3000)
{
for(new i=0; i<MaiorID; i++)
{
if(IsPlayerConnected(i)) PlayerInfo[i][pPayDay] = 6;
}
PayDay();
format(gstring,sizeof(gstring), "ADM AVISO: %s ID[%d] usou o comando /payday", PlayerName(playerid), playerid);
ABroadCast(COLOR_GRAD1, gstring, 1);
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, "Vocк nгo esta autorizado a usar este comando!");
}
return 1;
}
Re: /payday Bugado [AJUDA] -
ProKillerpa - 29.06.2013
pawn Код:
if(strcmp(cmd, "/payday", true) == 0)
{
if (PlayerInfo[playerid][pAdmin] >= 3000)
{
for(new i=0; i<MaiorID; i++)
{
PayDay();
}
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, "Vocк nгo esta autorizado a usar este comando!");
}
return 1;
}
Re: /payday Bugado [AJUDA] -
MaTeuS_FeLiPe - 29.06.2013
Quote:
Originally Posted by ProKillerpa
pawn Код:
if(strcmp(cmd, "/payday", true) == 0) { if (PlayerInfo[playerid][pAdmin] >= 3000) { for(new i=0; i<MaiorID; i++) { PayDay(); } } else { SendClientMessage(playerid, COLOR_GRAD1, "Vocк nгo esta autorizado a usar este comando!"); } return 1; }
|
vlw cara 1 rep pra vc ai!