[AJUDA]comados
#10

Fogo:
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;
}
Tapгo:
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;
}
Tapa:
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;
}
Reply


Messages In This Thread
[AJUDA]comados - by hugo103 - 27.12.2011, 15:53
Re: [AJUDA]comados - by Lуs - 27.12.2011, 15:58
Respuesta: [AJUDA]comados - by hugo103 - 27.12.2011, 16:03
Re: [AJUDA]comados - by Lуs - 27.12.2011, 16:13
Respuesta: [AJUDA]comados - by hugo103 - 27.12.2011, 16:20
Re: [AJUDA]comados - by Lуs - 27.12.2011, 16:25
Respuesta: [AJUDA]comados - by hugo103 - 27.12.2011, 16:33
Re: [AJUDA]comados - by ViniBorn - 27.12.2011, 17:21
Respuesta: [AJUDA]comados - by hugo103 - 27.12.2011, 18:25
Re: Respuesta: [AJUDA]comados - by Lуs - 27.12.2011, 18:45

Forum Jump:


Users browsing this thread: 5 Guest(s)