Stack underflow in OnVehicleSpawn
#1

It says it all,
Код:
[18:12:49] [debug] #0  00000008 in OnVehicleSpawn () from Race.amx
[18:12:49] [debug] Backtrace (most recent call first):
[18:12:49] [debug]   Stack index (STK) is 0x925B8, stack top (STP) is 0x925B0
[18:12:49] [debug] Run time error 7: "Stack underflow"
Код:
public OnVehicleSpawn(vehicleid)
{
	if(GetVehicleVirtualWorld(vehicleid) == RaceWorld) SetVehicleVirtualWorld(vehicleid, 0);
}
I've debugged my script and it's giving me a response with Stack underflow.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)