error 010: invalid function or declaration
#1

Hello, I'm quite new to scripting and I get this error when trying to compile a piece of script.

Code:
error 010: invalid function or declaration
The error is in line 8129.

Here's the code:

Code:
new skyspickup1;

skyspickup1 = CreatePickup(19130, 1, 17.8010, 1526.4569, 70.1786, 0); <- line 8129.

public OnPlayerPickUpPickup(playerid, pickupid)
{
	if(pickupid == skyspickup1)
	{
	SetPlayerPos(playerid, 13.5926, 1524.2189, 75.7102);
	return 1;
	}
return 0;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)