[AJUDA]Bomba
#9

PHP код:
forward Explodir(playerid);
public 
OnPlayerCommandText(playeridcmdtext[])
{
    if(
strcmp("/explodirbomba"cmdtexttrue10) == 0)
    {
        if(
Bomba[playerid] == 0) return SendClientMessage(playeridBRANCO,"Vocк nгo comprou nenhuma bomba !");
        
Bomba[playerid] --;
        new 
Float:xFloat:yFloat:z;
        
GetPlayerPos(playeridxyz);
        
SetTimerEx("Explodir"10000false"i"playerid);
        
SendClientMessage(playeridBRANCO,"Corraa !! A bomba irб explodir em 10 segundos !");
        return 
1;
    }
    return 
0;
}
public 
Explodir(playerid)
{
    new 
Float:XYZ[3];
    
GetPlayerPos(playeridXYZ[0], XYZ[1], XYZ[2])
    
CreateExplosion(XYZ[0], XYZ[1], XYZ[2], 1110);
    return 
1;

Reply


Messages In This Thread
[AJUDA]Bomba - by FreeGellsTSSA - 07.06.2011, 19:28
Re: [AJUDA]Bomba - by Shadoww5 - 07.06.2011, 19:40
Re: [AJUDA]Bomba - by FreeGellsTSSA - 07.06.2011, 19:46
Re: [AJUDA]Bomba - by zbt_Daimyo - 07.06.2011, 19:48
Re: [AJUDA]Bomba - by Shadoww5 - 07.06.2011, 19:50
Re: [AJUDA]Bomba - by FreeGellsTSSA - 07.06.2011, 20:13
Re: [AJUDA]Bomba - by Shadoww5 - 07.06.2011, 20:26
Re: [AJUDA]Bomba - by FreeGellsTSSA - 07.06.2011, 20:30
Re: [AJUDA]Bomba - by Shadoww5 - 07.06.2011, 20:35
Re: [AJUDA]Bomba - by Shadoww5 - 07.06.2011, 20:57

Forum Jump:


Users browsing this thread: 3 Guest(s)