Help me please {Scripting problem} - 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)
+--- Thread: Help me please {Scripting problem} (
/showthread.php?tid=367591)
Help me please {Scripting problem} -
Adam_Hardy - 10.08.2012
yesterday my server was working, and it succesfully compiled,
i just tried this day to compile again and it didn't work
Код:
C:\Users\hp\Desktop\my Roleplay server\gamemodes\RP.pwn(664) : error 017: undefined symbol "RPN"
C:\Users\hp\Desktop\my Roleplay server\gamemodes\RP.pwn(665) : error 017: undefined symbol "SendRobberyMessage"
C:\Users\hp\Desktop\my Roleplay server\gamemodes\RP.pwn(666) : error 017: undefined symbol "SendCopMessage"
C:\Users\hp\Desktop\my Roleplay server\gamemodes\RP.pwn(684) : error 017: undefined symbol "IsACop"
C:\Users\hp\Desktop\my Roleplay server\gamemodes\RP.pwn(688) : error 017: undefined symbol "IsACop"
C:\Users\hp\Desktop\my Roleplay server\gamemodes\RP.pwn(691) : error 017: undefined symbol "GiveZaiatMoney"
C:\Users\hp\Desktop\my Roleplay server\gamemodes\RP.pwn(829) : error 017: undefined symbol "IsPlayerLoggedIn"
C:\Users\hp\Desktop\my Roleplay server\gamemodes\RP.pwn(877) : error 017: undefined symbol "ResetZaiatWeapons"
C:\Users\hp\Desktop\my Roleplay server\gamemodes\RP.pwn(1172) : error 017: undefined symbol "split"
C:\Users\hp\Desktop\my Roleplay server\gamemodes\RP.pwn(1260) : error 017: undefined symbol "IsPlayerLoggedIn"
C:\Users\hp\Desktop\my Roleplay server\gamemodes\RP.pwn(1265) : error 017: undefined symbol "RPNU"
C:\Users\hp\Desktop\my Roleplay server\gamemodes\RP.pwn(1287) : error 017: undefined symbol "SaveZaiatAmmo"
C:\Users\hp\Desktop\my Roleplay server\gamemodes\RP.pwn(1482) : error 017: undefined symbol "SaveToys"
C:\Users\hp\Desktop\my Roleplay server\gamemodes\RP.pwn(1499) : error 017: undefined symbol "RPNU"
C:\Users\hp\Desktop\my Roleplay server\gamemodes\RP.pwn(1725) : error 017: undefined symbol "LoadToys"
C:\Users\hp\Desktop\my Roleplay server\gamemodes\RP.pwn(1733) : error 017: undefined symbol "RPN"
C:\Users\hp\Desktop\my Roleplay server\gamemodes\RP.pwn(1748) : error 017: undefined symbol "RPN"
C:\Users\hp\Desktop\my Roleplay server\gamemodes\RP.pwn(1749) : error 017: undefined symbol "SendAdminMessage"
C:\Users\hp\Desktop\my Roleplay server\gamemodes\RP.pwn(1752) : error 017: undefined symbol "RPN"
C:\Users\hp\Desktop\my Roleplay server\gamemodes\RP.pwn(1753) : error 017: undefined symbol "SendAdminMessage"
C:\Users\hp\Desktop\my Roleplay server\gamemodes\RP.pwn(1757) : error 017: undefined symbol "RPN"
C:\Users\hp\Desktop\my Roleplay server\gamemodes\RP.pwn(1758) : error 017: undefined symbol "SendAdminMessage"
C:\Users\hp\Desktop\my Roleplay server\gamemodes\RP.pwn(1818) : error 017: undefined symbol "split"
C:\Users\hp\Desktop\my Roleplay server\gamemodes\RP.pwn(1844) : error 017: undefined symbol "RHS"
C:\Users\hp\Desktop\my Roleplay server\gamemodes\RP.pwn(1921) : error 017: undefined symbol "fcreate"
C:\Users\hp\Desktop\my Roleplay server\gamemodes\RP.pwn(1931) : error 017: undefined symbol "split"
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
26 Errors.
Код:
L664: format(string, sizeof(string), "** %s has disconnected and has failed the robbery. **", RPN(playerid));
L665: SendRobberyMessage(COLOR_LIGHTRED, string);
L666: SendCopMessage(COLOR_LIGHTRED, string);
L684: if(IsACop(i)) copsonline++;
L688: if(IsACop(i))
Thats all i can copy as an example, i think its an include problem ! plz help
Re: Help me please {Scripting problem} -
AliveBG - 10.08.2012
This is part of fixing.
You have undefined symbols.
Put this in top of script. You must put other lines
PHP код:
new IsPlayerLoggedIn[MAX_PLAYERS];
forward SendCopMessage(color, string[]);
forward SendRobberyMessage(color, string[]);
forward SendAdminMessage(color, string[]);
and maybe you don't have stock for IsACop
PHP код:
stock IsACop(playerid)
{
...
}
Re: Help me please {Scripting problem} -
Ranama - 10.08.2012
Probably missing a bracket somewhere, check the code you have edited and look that you have as many { as }
Hope it helped
Re: Help me please {Scripting problem} -
Eminem 2ka9 - 10.08.2012
missing a bracket
Re: Help me please {Scripting problem} -
drichie - 26.05.2013
how did he manage to fix that ive got almost the same problem with him
Re: Help me please {Scripting problem} -
mahdi499 - 26.05.2013
Driche this is a 1 year old threat,Why are you replying to this?