03.06.2010, 01:05
QueTal?
COORDENADAS AQUI -> Coordenadas HQ
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;
}