27.12.2011, 18:45
Fogo:
Tapгo:
Tapa:
pawn Код:
CMD:fogo(playerid, params[])
{
new ID;
if(APlayerData[playerid][PlayerLevel] < 2) return SendClientMessage(playerid, -1, "Vocк nгo й administrador level 2.");
if(sscanf(params, "u", ID)) return SendClientMessage(playerid, -1, "Use: /fogo [ID]");
if(!IsPlayerConnect(ID)) return SendClientMessage(playerid, -1, "Este jogador nгo estб conectado.");
new Float:Pos[3];
GetPlayerPos(ID, Pos[0], Pos[1], Pos[2]);
CreateExplosion(Pos[0], Pos[1], Pos[2], 9, 5.0);
return 1;
}
pawn Код:
CMD:tapao(playerid, params[])
{
new ID;
if(APlayerData[playerid][PlayerLevel] < 2) return SendClientMessage(playerid, -1, "Vocк nгo й administrador level 2.");
if(sscanf(params, "u", ID)) return SendClientMessage(playerid, -1, "Use: /tapao [ID]");
if(!IsPlayerConnect(ID)) return SendClientMessage(playerid, -1, "Este jogador nгo estб conectado.");
new Float:Pos[3];
GetPlayerPos(ID, Pos[0], Pos[1], Pos[2]);
SetPlayerPos(ID, Pos[0], Pos[1], Pos[2]+30);
return 1;
}
pawn Код:
CMD:tapa(playerid, params[])
{
new ID;
if(APlayerData[playerid][PlayerLevel] < 2) return SendClientMessage(playerid, -1, "Vocк nгo й administrador level 2.");
if(sscanf(params, "u", ID)) return SendClientMessage(playerid, -1, "Use: /tapa [ID]");
if(!IsPlayerConnect(ID)) return SendClientMessage(playerid, -1, "Este jogador nгo estб conectado.");
new Float:Pos[3];
GetPlayerPos(ID, Pos[0], Pos[1], Pos[2]);
SetPlayerPos(ID, Pos[0], Pos[1], Pos[2]+10);
return 1;
}