A couple of errors
#1

Quote:

C:\Users\James\Desktop\SAMP\gamemodes\roleplay.pwn (436) : error 012: invalid function call, not a valid address
C:\Users\James\Desktop\SAMP\gamemodes\roleplay.pwn (436) : error 001: expected token: ";", but found ")"
C:\Users\James\Desktop\SAMP\gamemodes\roleplay.pwn (436) : error 029: invalid expression, assumed zero
C:\Users\James\Desktop\SAMP\gamemodes\roleplay.pwn (436) : fatal error 107: too many error messages on one line

And here's the code:
Код:
public OnVehicleDeath(vehicleid, killerid)
{
	if(GetCreatorID(vehicleid)!=0)
	{
		new create = GetCreatorID(vehicleid);
		DestroyVehicle(vehicleid);
		new CAR = CreateVehicle(VehicleSystem[create][model],VehicleSystem[create][x],VehicleSystem[create][y],VehicleSystem[create][z],VehicleSystem[create][a],VehicleSystem[create][Colour1],VehicleSystem[create][Colour2],600000);
		Tune(CAR);
	}
	return 1;
}
Код:
if(GetCreatorID(vehicleid)!=0)
^ That's line 436
Reply


Messages In This Thread
A couple of errors - by jameskmonger - 19.03.2010, 14:04
Re: A couple of errors - by [cA]Unforseen - 19.03.2010, 14:07
Re: A couple of errors - by [MWR]Blood - 19.03.2010, 14:07
Re: A couple of errors - by jameskmonger - 19.03.2010, 14:10
Re: A couple of errors - by [cA]Unforseen - 19.03.2010, 14:11
Re: A couple of errors - by jameskmonger - 19.03.2010, 14:12
Re: A couple of errors - by [cA]Unforseen - 19.03.2010, 14:13
Re: A couple of errors - by jameskmonger - 19.03.2010, 14:17

Forum Jump:


Users browsing this thread: 1 Guest(s)