Car not exploding
#6

Hm, wtf i did it like below, but now the server isn't recognizing that the command even exists >.>

Just said "command not found"

I did:
pawn Код:
CMD:suicide(playerid, params[])
{
    if(gTeam[playerid] == T_IRAQ)
    {
        new vehicleid = GetPlayerVehicleID(playerid);
        SetVehicleHealth(vehicleid,0);
        new Float:x, Float:y, Float:z;
        GetVehiclePos(vehicleid, x, y, z);
        CreateExplosion(x, y, z, 7, 7.0);
    }
    else return SendClientMessage(playerid, 0xFF0000FF, "You must be a Taliban to use this command.");
    return 1;
}
Reply


Messages In This Thread
Car not exploding - by Eminem 2ka9 - 18.03.2013, 20:06
Re: Car not exploding - by teomakedonija - 18.03.2013, 20:09
Re: Car not exploding - by Eminem 2ka9 - 18.03.2013, 20:12
Re: Car not exploding - by Jstylezzz - 18.03.2013, 20:13
Re: Car not exploding - by mastermax7777 - 18.03.2013, 20:29
Re: Car not exploding - by Eminem 2ka9 - 18.03.2013, 20:35
Re: Car not exploding - by kamzaf - 18.03.2013, 20:38
Re: Car not exploding - by Eminem 2ka9 - 18.03.2013, 20:48
Re: Car not exploding - by kamzaf - 18.03.2013, 20:53
Re: Car not exploding - by Konstantinos - 18.03.2013, 20:53

Forum Jump:


Users browsing this thread: 2 Guest(s)