18.03.2013, 20:35
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:
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;
}