destroy your car with a command?
#5

Only 1 problem, i also want it to only work when the player is IN A VEHICLE.

Like OnPlayerStateDriver or something.

This is my current code>?
pawn Код:
CMD:suicide(playerid, params[])
{
        if(gTeam[playerid] == T_IRAQ)
    {
        return DestroyVehicle(GetPlayerVehicleID(playerid));
    }
    else return SendClientMessage(playerid, 0xFF0000FF, "You must be a Taliban to use this command.");
}
Reply


Messages In This Thread
destroy your car with a command? - by Eminem 2ka9 - 18.03.2013, 13:41
Re: destroy your car with a command? - by Misiur - 18.03.2013, 13:43
Re: destroy your car with a command? - by Konstantinos - 18.03.2013, 13:44
Re: destroy your car with a command? - by Eminem 2ka9 - 18.03.2013, 14:01
Re: destroy your car with a command? - by Eminem 2ka9 - 18.03.2013, 14:54
Re: destroy your car with a command? - by Scenario - 18.03.2013, 14:55
Re: destroy your car with a command? - by Eminem 2ka9 - 18.03.2013, 15:11
Re: destroy your car with a command? - by Eminem 2ka9 - 18.03.2013, 15:27
Re: destroy your car with a command? - by Misiur - 18.03.2013, 15:29
Re: destroy your car with a command? - by Eminem 2ka9 - 18.03.2013, 15:39

Forum Jump:


Users browsing this thread: 1 Guest(s)