18.03.2013, 20:38
pawn Код:
CMD:suicide(playerid, params[])
{
if(gTeam[playerid] != T_IRAQ) return SendClientMessage(playerid, 0xFF0000FF, "You must be a Taliban to use this command.");
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);
return 1;
}