[Ajuda] Comando TP
#2

vc esqueceu do ! ( da uma olhada em operadores logicos )

pawn Код:
CMD:tp(playerid, params[])
{
    if(sscanf(params, "u", params[0]))
        return SendClientMessage(playerid, -1, "Use: /tp [id]");
    if(!IsPlayerConnected(params[0]))
        return SendClientMessage(playerid, -1, "Este jogador nгo esta online");
    new Float:zpos[3];
    GetPlayerPos(params[0], zpos[0], zpos[1], zpos[2]);
    SetPlayerPos(playerid, zpos[0], zpos[1], zpos[2]);
    return true;
}
Reply


Messages In This Thread
Comando TP - by seykan - 18.06.2014, 19:47
Re: Comando TP - by PT - 18.06.2014, 20:19
Re: Comando TP - by seykan - 18.06.2014, 20:43
Re: Comando TP - by Schocc - 18.06.2014, 21:38

Forum Jump:


Users browsing this thread: 1 Guest(s)