12.07.2012, 02:19
Your basic command
is working fine with me.
JUST ADD:
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/myroom", true, 10) == 0)
{
SetPlayerPos(playerid, 1638.0869,-1145.4698,23.9063);
SendClientMessage(playerid, 0x00FF00AA, "You have teleported to /MyRoom.");
return 1;
}
return 1;
}
JUST ADD:
pawn Код:
SetPlayerInterior(playerid,0);
SetPlayerFacingAngle(playerid,0.0);