15.09.2011, 13:48
Para ultilizar o que faзo?
/ircoord 1529.6,-1691.2,13.3 ?
@edit
Meu gm nao tem comandos em zmd
/ircoord 1529.6,-1691.2,13.3 ?
pawn Код:
if(strcmp("/ircoord", cmdtext, true) == 0)
{
if(!IsPlayerAdmin(playerid))
return 1;
SendClientMessage(playerid, -1, "Somente administrador rcon pode usar!");
new Float:P[3], aStr[75];
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) return SendClientMessage(playerid, -1 , "/ircord [x] [y] [z]");
P[0] = strval(tmp);
if(!strlen(tmp)) return SendClientMessage(playerid, -1 , "/ircord [x] [y] [z]");
P[1] = strval(tmp);
if(!strlen(tmp)) return SendClientMessage(playerid, -1 , "/ircord [x] [y] [z]");
P[2] = strval(tmp);
SetPlayerPos(playerid, P[0], P[1], P[2]);
format(aStr, sizeof(aStr), "Teleportado atй as cordenadas X » [%f] , Y » [%f] , Z » [%f]", P[0], P[1], P[2]);
return 1;
}
Meu gm nao tem comandos em zmd