07.07.2012, 19:04
Hey, I am so lost in this one. If anyone could help me to create a admin command named /gethere [ID].
This is what I mixed myself but not working and I do not know how to create it. Please explain me what I should do to create it successfully.
This is what I created:
This is what I mixed myself but not working and I do not know how to create it. Please explain me what I should do to create it successfully.
This is what I created:
pawn Код:
COMMAND:gethere(playerid, params[])
{
if(!IsPlayerAdmin(playerid)) return 0;
if(sscanf(params, "ui") return SendClientMessage(playerid, 0x333666, "Correct usage: /gethere [ID]");
GetPlayerPos(playerid,x,y,z);
GetPlayerFacingAngle(playerid,angle);
SetPlayerPos(playerid,x,y,z);
return 1;
}