Error 001
#1

Hey guys, I try to compile my script I always get these errors:

Quote:

pd mavs + dach.pwn(71) : error 001: expected token: "*then", but found "-identifier-"

Here are the lines:
Код:
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;
}
Any ideas?

Thanks in advance!
Reply


Messages In This Thread
Error 001 - by sapsap - 22.01.2011, 15:59
Re: Error 001 - by veyron - 22.01.2011, 16:01
Re: Error 001 - by sapsap - 22.01.2011, 16:02

Forum Jump:


Users browsing this thread: 1 Guest(s)