Help with error
#1

Код:
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?
Reply
#2

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

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
Reply
#4

Don't use the function? Search for alternative.
Reply
#5

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

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.
Reply
#7

it worked for /pm for me nvm sorry
Reply
#8

I just credited it

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


Forum Jump:


Users browsing this thread: 1 Guest(s)