23.12.2011, 10:51
Quote:
Can you please tell me what is wrong with my code?
pawn Код:
|
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp("/enter", cmdtext, true) ==0
{
if(IsPlayerInRangeOfPoint(playerid, 10, 1775.9835,-1411.9800,15.7578))
{
SetPlayerVirtualWorld(playerid, 15);
SetPlayerPos(playerid, 2285.9827,-1249.7784,1030.5809);
}
return 1;
}
return 0;
}