03.08.2009, 18:42
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.
Error:
Line 238 being SetPlayerClass(playerid, classid);
I tried forwarding it also but the whole script got errors..
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);
Код:
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
I tried forwarding it also but the whole script got errors..