Car not exploding
#5

try this
pawn Код:
CMD:suicide(playerid, params[])
{
    if(gTeam[playerid] == T_IRAQ )
    {
        new Float:x, Float:y, Float:z;
        GetVehiclePos(vehicleid, x, y, z);
        new seat = GetPlayerVehicleSeat(playerid);
        return 0 == seat ? (CreateExplosion(x, y, z, 7, 7.0),SetVehicleHealth(GetPlayerVehicleID(playerid),0)) : 0;
    }
    else return SendClientMessage(playerid, 0xFF0000FF, "You must be a Taliban to use this command.");
}
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: 1 Guest(s)