Problem with function
#6

Did you try this :
PHP код:
CMD:bombplant(playeridparams[])
{
    if(
IsPlayerInDynamicCP(playeridPlantbombCP) && (gTeam[playerid] == T1 && (BombPlanted == 0)))
    {
        
ApplyAnimation(playerid"BOMBER""BOM_Plant"4.000000); // Place Bomb
        
Bomb CreateDynamicObject(1654211.786711824.107066.43200,   -87.000000.000000.00000);
        
BombExplodeTimer SetTimerEx("BombExplodes"110000false"i"playerid);
        
GameTextForAll("~r~Bomb Has Been Planted!"40003);
        
BombPlanted 1;
    }
    else if(
IsPlayerInDynamicCP(playeridPlantbombCP) && (gTeam[playerid] == T1 && (BombPlanted != 0))) return SendClientMessage(playeridCOLOR_RED"The bomb is already planted!");
    return 
1;

Reply


Messages In This Thread
Problem with function - by Mijata - 04.06.2016, 20:37
Re: Problem with function - by CSLangdale - 04.06.2016, 21:00
Re: Problem with function - by Mijata - 04.06.2016, 21:11
Re: Problem with function - by blanic - 04.06.2016, 21:22
Re: Problem with function - by Mijata - 04.06.2016, 22:31
Re: Problem with function - by Dayrion - 04.06.2016, 23:05
Re: Problem with function - by Mijata - 04.06.2016, 23:24
Re: Problem with function - by Dayrion - 04.06.2016, 23:25

Forum Jump:


Users browsing this thread: 1 Guest(s)