21.08.2015, 22:42
Take it, is not hard to do .........
Код:
CMD:gotopoint(playerid, params[])
{
new Float:x, Float:y, Float:z,intID;
if(sscanf(params, "fffd",x,y,z,intID)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /gotopoint [Pos X] [Pos Y] [Pos Z] [interior id]");
if(PlayerInfo[playerid][pAdmin] < 2) return SendClientMessage(playerid, COLOR_RED, "Nu esti autorizat sa folosesti aceasta comanda.");
SetPlayerInterior(playerid, intID);
SetPlayerPos(playerid, x,y,z);
SendClientMessage(playerid, COLOR_GREEN, "Ai fost teleportat cu succes !");
return 1;
}

