22.01.2011, 15:59
Hey guys, I try to compile my script I always get these errors:
Here are the lines:
Any ideas?
Thanks in advance!
Quote:
pd mavs + dach.pwn(71) : error 001: expected token: "*then", but found "-identifier-" |
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/pdhoch", cmdtext, true, 10) == 0) { if IsPlayerInRangeOfPoint(playerid, 2, 242.2857,66.3882,1003.6406) SetPlayerPos(playerid, 1571.8101,-1675.6870,28.3955); else SendClientMessage (playerid, 0xFF0000, "Du bist nicht im PD!"); return 1; } return 0; }
Thanks in advance!