SA-MP Forums Archive
Help with error - 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 with error (/showthread.php?tid=108949)



Help with error - JoeDaDude - 16.11.2009

Код:
C:\Users\Torran\Documents\Server Stuff\MTRP\mtrp-final.pwn(9834) : error 017: undefined symbol "SetDisabledWeapons"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
pawn Код:
SetDisabledWeapons(43,44,45);
Whats wrong?


Re: Help with error - Correlli - 16.11.2009

This function is removed in SA:MP v0.3a.


Re: Help with error - JoeDaDude - 16.11.2009

Yes i know, But how to stop that error,
Ive done it once i cant even remember getting that error,
But anyway how to fix it without editing the whole script

EDIT: nvm i credited it out of the script


Re: Help with error - Correlli - 16.11.2009

Don't use the function? Search for alternative.


Re: Help with error - [HKS]dlegend - 16.11.2009

add this to a_samp under
//game
native SetDisabledWeapons(...);


Re: Help with error - Correlli - 17.11.2009

Quote:
Originally Posted by dlegend
add this to a_samp under
//game
native SetDisabledWeapons(...);
.. that will remove the error but the function won't work, so that's not a solution.


Re: Help with error - [HKS]dlegend - 17.11.2009

it worked for /pm for me nvm sorry


Re: Help with error - JoeDaDude - 17.11.2009

I just credited it

pawn Код:
// SetDisabledWeapons(43,44,45);
Like that