SA-MP Forums Archive
[HELP] Class Selection - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP] Class Selection (/showthread.php?tid=77349)



[HELP] Class Selection - Hot - 10.05.2009

I was editing my GM, and when I finished it i get this error:

Код:
C:\DOCUME~1\Gustavo\Desktop\SAMP02~1.WIN\GAMEMO~1\WHRP.pwn(118) : error 010: invalid function or declaration
Код:
118: 	if(classid==medic1)
Before edit the gamemode it was working perfectly,

And yes, before you guys ask...

I defined and creted a variable for that class.

but it says it is never used:
Код:
C:\DOCUME~1\Gustavo\Desktop\SAMP02~1.WIN\GAMEMO~1\WHRP.pwn(78) : warning 204: symbol is assigned a value that is never used: "medic1"



Re: [HELP] Class Selection - Backwardsman97 - 10.05.2009

The problem isn't on line 125.


Re: [HELP] Class Selection - Hot - 10.05.2009

I'm sorry, but please stop looking at details and help I already searched in forum and at pawn tutorial.


Re: [HELP] Class Selection - Backwardsman97 - 10.05.2009

How can I or anybody help if we have no idea what the line is that's causing it?


Re: [HELP] Class Selection - Hot - 10.05.2009

okay, you are right, but please i really need help at it.