Problem whit some script...
#1

At the beginning it says this
Код:
C:\Documents and Settings\Administrator\Desktop\c\Script\GG MOD\gamemodes\backup-3.1-2.pwn(7946) : error 017: undefined symbol "AC_GivePlayerWeapon"
C:\Documents and Settings\Administrator\Desktop\c\Script\GG MOD\gamemodes\backup-3.1-2.pwn(7950) : error 017: undefined symbol "AC_GivePlayerWeapon"
C:\Documents and Settings\Administrator\Desktop\c\Script\GG MOD\gamemodes\backup-3.1-2.pwn(15939) : error 017: undefined symbol "AC_GivePlayerWeapon"
C:\Documents and Settings\Administrator\Desktop\c\Script\GG MOD\gamemodes\backup-3.1-2.pwn(15953) : error 017: undefined symbol "AC_GivePlayerWeapon"
C:\Documents and Settings\Administrator\Desktop\c\Script\GG MOD\gamemodes\backup-3.1-2.pwn(15967) : error 017: undefined symbol "AC_GivePlayerWeapon"
C:\Documents and Settings\Administrator\Desktop\gcc\Script\GG MOD\gamemodes\backup-3.1-2.pwn(15981) : error 017: undefined symbol "AC_GivePlayerWeapon"
C:\Documents and Settings\Administrator\Desktop\genisugaming\Script\GG MOD\gamemodes\backup-3.1-2.pwn(15995) : error 017: undefined symbol "AC_GivePlayerWeapon"
C:\Documents and Settings\Administrator\Desktop\c\Script\GG MOD\gamemodes\backup-3.1-2.pwn(16009) : error 017: undefined symbol "AC_GivePlayerWeapon"
C:\Documents and Settings\Administrator\Desktop\ccgcg\Script\GG MOD\gamemodes\backup-3.1-2.pwn(16665) : error 017: undefined symbol "AC_ResetPlayerWeapons"
C:\Documents and Settings\Administrator\Desktop\gcing\Script\GG MOD\gamemodes\backup-3.1-2.pwn(19870) : error 017: undefined symbol "AC_RemovePlayerWeapon"
C:\Documents and Settings\Administrator\Desktop\gcng\Script\GG MOD\gamemodes\backup-3.1-2.pwn(23504) : error 017: undefined symbol "AC_RemovePlayerWeapon"
C:\Documents and Settings\Administrator\Desktop\c\Script\GG MOD\gamemodes\backup-3.1-2.pwn(23511) : error 017: undefined symbol "AC_RemovePlayerWeapon"
C:\Documents and Settings\Administrator\Desktop\camc\Script\GG MOD\gamemodes\backup-3.1-2.pwn(23538) : error 017: undefined symbol "AC_ResetPlayerWeapons"
C:\Documents and Settings\Administrator\Desktop\gc\Script\GG MOD\gamemodes\backup-3.1-2.pwn(23613) : error 017: undefined symbol "AC_ResetPlayerWeapons"
C:\Documents and Settings\Administrator\Desktop\cc\Script\GG MOD\gamemodes\backup-3.1-2.pwn(23634) : error 017: undefined symbol "AC_ResetPlayerWeapons"
C:\Documents and Settings\Administrator\Desktop\cc\Script\GG MOD\gamemodes\backup-3.1-2.pwn(23664) : error 017: undefined symbol "AC_ResetPlayerWeapons"
That AC_ really makes problems to me and i didnt know how to fix it then i started to erase all AC_ from the gamemode and finnaly it shows this...

Код:
C:\Documents and Settings\Administrator\Desktop\genisugaming\Script\GG MOD\gamemodes\GeniusGamingAC_MAKNUT.pwn(19869) : error 004: function "RemovePlayerWeapon" is not implemented
C:\Documents and Settings\Administrator\Desktop\genisugaming\Script\GG MOD\gamemodes\GeniusGamingAC_MAKNUT.pwn(23503) : error 004: function "RemovePlayerWeapon" is not implemented
C:\Documents and Settings\Administrator\Desktop\genisugaming\Script\GG MOD\gamemodes\GeniusGamingAC_MAKNUT.pwn(23510) : error 004: function "RemovePlayerWeapon" is not implemented
C:\Documents and Settings\Administrator\Desktop\genisugaming\Script\GG MOD\gamemodes\GeniusGamingAC_MAKNUT.pwn(45782) : error 004: function "RemovePlayerWeapon" is not implemented
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
here is the lines...

Код:
19869: 	RemovePlayerWeapon(playerid, gunID);
23503:   RemovePlayerWeapon(playerid, 24);
23510:   RemovePlayerWeapon(playerid, 23);
45782: 	RemovePlayerWeapon(playerid, weaponid);
Please help ?
Reply
#2

Looks like you are missing some brackets.
If you don't close all your publics and stocks, some functions won't be implemented.
Reply
#3

How can i repair it?
and where i put those brackets?
Reply
#4

Why did you delete it instead of defining it?
It probably just needed a public/stock....

Without the code we can't help you...
By the way you should learn the basics before staring an Edit.
Reply
#5

i putted this before...

Код:
new AC_GivePlayerWeapon; 
new AC_ResetPlayerWeapon; 
new AC_RemovePlayerWeapon;
and it didnt helped at all...
Reply
#6

I said public/stoc as it is a function. Functions that are not SA-MP made, have to be defineds/createds in a stock or public.

Post the whole code around the error lines.
By the way if you deleted something, something will stop working cos all codes are there for some reason.
Reply
#7

i puted a public function and its working.. thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)