/bonus > nefungue
#1

Cau lidi tak vcera sem si nakodil takovej malej scriptik a dnes kdyz sem zkousel mod tak ten script blbne kod:

Код:
dcmd_bonus(playerid, params[])
{
#pragma unused params
if(IsPlayerConnected(playerid))
{
new bool:bonused[MAX_PLAYERS] = true;
if(bonused[playerid] == false)
{
bonused[playerid] = true;
EnableStuntBonusForPlayer(playerid, 1);
SendClientMessage(playerid, BARVA_ZELENA, "Prave jsis zapnul ukazovani bonusu.");
}
else if(bonused[playerid] == true)
{
bonused[playerid] = false;
EnableStuntBonusForPlayer(playerid, 0);
SendClientMessage(playerid, BARVA_ZELENA, "Prave jsis vypnul ukazovani bonusu.");
}
}
return true;
}
Vzdy kdyz zadam prikaz: /bonus tak se vzdy ukaze pouze: Prave jsis vypnul ukazovani bonusu.
A ja uz nwm vcem je problem tak pls help. Predem diky

I'm Czech :P xD
Reply


Messages In This Thread
/bonus > nefungue - by ToMmY1547 - 16.05.2009, 19:31
Re: /bonus > nefungue - by ToMmY1547 - 16.05.2009, 20:21
Re: /bonus > nefungue - by miokie - 16.05.2009, 20:30
Re: /bonus > nefungue - by ToMmY1547 - 16.05.2009, 20:34
Re: /bonus > nefungue - by member - 16.05.2009, 20:46
Re: /bonus > nefungue - by ToMmY1547 - 16.05.2009, 20:52

Forum Jump:


Users browsing this thread: 1 Guest(s)