[AJUDA] Cmd de levar pra HQ
#2

QueTal?

pawn Code:
public OnPlayerCommandText(playerid, cmdtext[])
{
    new cmd[128], idx;
    cmd = strtok(cmdtext, idx);
 
    if(strcmp(cmd, "/mandarhq", true) == 0)
    {
        new tmp[128];
        tmp = strtok(cmdtext, idx);
 
        if(strlen(tmp) == 0) return SendClientMessage(playerid, 0xFFFFFFFF, "Uso do Comando: /mandarhq [ID]");
 
        SetPlayerPos(strval(tmp),COOORDENADAS AQUI);
        return 1;
    }
    return 0;
}
COORDENADAS AQUI -> Coordenadas HQ
Reply


Messages In This Thread
[AJUDA] Cmd de levar pra HQ - by [Ips]Guh - 03.06.2010, 00:57
Re: [AJUDA] Cmd de levar pra HQ - by ipsBruno - 03.06.2010, 01:05
Re: [AJUDA] Cmd de levar pra HQ - by Caio_Cartaxo - 03.06.2010, 01:06
Re: [AJUDA] Cmd de levar pra HQ - by ipsBruno - 03.06.2010, 01:19

Forum Jump:


Users browsing this thread: 1 Guest(s)