[Ajuda] comando
#4

PHP код:
//TOP DA GM
new Morreu[MAX_PLAYERS];
if (
strcmp("/morrer"cmdtexttrue) == 0)
{
    
SetPlayerHealth(playerid0);
    
GivePlayerMoney(playerid, -100);
    
Morreu[playerid] = 1;
    
SendClientMessage(playerid0xFFFF00FF"Vocк morreu e perdeu R$100");
    return 
1;
}
public 
OnPlayerSpawn(playerid)
{
    if(
Morreu[playerid] == 1)
    {
        
SetPlayerPos(playerid0.00.00.0);
        return 
1;
    }
    return 
1;

Reply


Messages In This Thread
comando - by macacoSamp - 03.04.2016, 03:45
Re: comando - by 99fe3rnando - 03.04.2016, 04:23
Re: comando - by ShOwD - 03.04.2016, 11:06
Re: comando - by ApocaSamp - 03.04.2016, 11:19
Re: comando - by macacoSamp - 03.04.2016, 21:58
Re: comando - by WooPz - 03.04.2016, 23:05
Re: comando - by macacoSamp - 04.04.2016, 19:41
Re: comando - by F1N4L - 04.04.2016, 19:48

Forum Jump:


Users browsing this thread: 2 Guest(s)