Custom call back errors >_<
#1

Yeah, I took a piece of a script from the old SFTDM and Im getting errors with the SetPlayerClass callback..

So I defined it (new SetPlayerClass and a lot of errors went away, but im still left with four.

pawn Код:
new SetPlayerClass;

public OnPlayerRequestClass(playerid, classid)
{
    SetPlayerClass(playerid, classid);
Error:
Код:
C:\Users\Damien\Desktop\samp server\gamemodes\lvtdm.pwn(238) : error 012: invalid function call, not a valid address
C:\Users\Damien\Desktop\samp server\gamemodes\lvtdm.pwn(238) : warning 215: expression has no effect
C:\Users\Damien\Desktop\samp server\gamemodes\lvtdm.pwn(238) : warning 215: expression has no effect
C:\Users\Damien\Desktop\samp server\gamemodes\lvtdm.pwn(238) : error 001: expected token: ";", but found ")"
C:\Users\Damien\Desktop\samp server\gamemodes\lvtdm.pwn(238) : error 029: invalid expression, assumed zero
C:\Users\Damien\Desktop\samp server\gamemodes\lvtdm.pwn(238) : fatal error 107: too many error messages on one line
Line 238 being SetPlayerClass(playerid, classid);

I tried forwarding it also but the whole script got errors..
Reply


Messages In This Thread
Custom call back errors >_< - by _Vortex - 03.08.2009, 18:42
Re: Custom call back errors >_< - by WrathOfGenesis - 03.08.2009, 18:45
Re: Custom call back errors >_< - by Westie - 03.08.2009, 18:47
Re: Custom call back errors >_< - by WrathOfGenesis - 03.08.2009, 18:52
Re: Custom call back errors >_< - by _Vortex - 03.08.2009, 18:57
Re: Custom call back errors >_< - by WrathOfGenesis - 03.08.2009, 18:58
Re: Custom call back errors >_< - by _Vortex - 03.08.2009, 19:04
Re: Custom call back errors >_< - by WrathOfGenesis - 03.08.2009, 19:06
Re: Custom call back errors >_< - by _Vortex - 03.08.2009, 19:11
Re: Custom call back errors >_< - by speedruntrainer - 03.08.2009, 20:50

Forum Jump:


Users browsing this thread: 1 Guest(s)