Quote:
Originally Posted by Banana_Ghost
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/enter", cmdtext, true, 10) == 0) { if(IsPlayerInRangeOfPoint(playerid, 7.0, 2125.1001, -1776.7, 12.9)) ( SetPlayerPos(playerid, 2114.2, -1755.6, 892.90002); ) return 1; } return 0; }
The return 1 was in the wrong place
|
That would not fix the problem.
CrazyManiac, you're using ( ) instead of { } under IsPlayerInRangeOfPoint