27.12.2011, 17:21
pawn Код:
CMD:fogo(playerid, params[])
{
if (APlayerData[playerid][PlayerLevel] < 2)
return SendClientMessage(playerid,-1,"Vocк nгo pode usar este comando.");
new ID;
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, -1, "Vocк nгo й administrador");
if(sscanf(params, "u", ID)) return SendClientMessage(playerid, -1, "Use: /fogo [ID]");
new Float:Pos[3];
GetPlayerPos(ID, Pos[0], Pos[1], Pos[2]);
CreateExplosion(Pos[0], Pos[1], Pos[2], 9, 5.0);
return 1;
}