[Ajuda] Comando Ir Cord [x y z]
#7

pawn Код:
if (!strcmp(cmd, "/ircord")) {

    static
        x_[24],
        y_[24],
        z_[24]
    ;
   
    x_ = strtok(cmdtext, idx), y_ = strtok(cmdtext, idx), z_ = strtok(cmdtext, idx);
   
    if (!strlen(x_) || !strlen(y_) || !strlen(z_))
        return SendClientMessage(playerid, -1, "Use /ircord [x] [y] [z]");
   
    SetPlayerPos(playerid, floatstr(x_), floatstr(y_), floatstr(z_));
    SendClientMessage(playerid, -1, "Teleportado com sucesso!");
    return 1;
}
Reply


Messages In This Thread
Comando Ir Cord [x y z] - by Alisson Silva Alves - 16.02.2014, 19:46
Re: Comando Ir Cord [x y z] - by Dieguinho - 16.02.2014, 19:52
Re: Comando Ir Cord [x y z] - by Gii - 16.02.2014, 19:55
Re: Comando Ir Cord [x y z] - by Alisson Silva Alves - 16.02.2014, 19:57
Re: Comando Ir Cord [x y z] - by brunox - 16.02.2014, 20:03
Re: Comando Ir Cord [x y z] - by Alisson Silva Alves - 16.02.2014, 20:07
Re: Comando Ir Cord [x y z] - by Gii - 16.02.2014, 20:13
Re: Comando Ir Cord [x y z] - by PT - 16.02.2014, 21:12
Re: Comando Ir Cord [x y z] - by brunox - 16.02.2014, 21:49

Forum Jump:


Users browsing this thread: 2 Guest(s)