21.08.2015, 20:47
Help meee..
Error:-
C:\Users\Administrator\Desktop\AHAD AMAN SAMP WORK\filterscripts\adminsys.pwn(34) : error 017: undefined symbol "POCKET_MONEY"
C:\Users\Administrator\Desktop\AHAD AMAN SAMP WORK\filterscripts\adminsys.pwn(34) : error 029: invalid expression, assumed zero
C:\Users\Administrator\Desktop\AHAD AMAN SAMP WORK\filterscripts\adminsys.pwn(34) : fatal error 107: too many error messages on one line
Error:-
C:\Users\Administrator\Desktop\AHAD AMAN SAMP WORK\filterscripts\adminsys.pwn(34) : error 017: undefined symbol "POCKET_MONEY"
C:\Users\Administrator\Desktop\AHAD AMAN SAMP WORK\filterscripts\adminsys.pwn(34) : error 029: invalid expression, assumed zero
C:\Users\Administrator\Desktop\AHAD AMAN SAMP WORK\filterscripts\adminsys.pwn(34) : fatal error 107: too many error messages on one line
Код:
public OnFilterScriptInit() { print("\n****************************************"); print("* Admin Filterscript by your name here *"); print("****************************************\n"); if(!fexist(SettingFile)) { dini_Create(SettingFile); dini_IntSet(SettingFile, "PocketMoney", 3000); dini_IntSet(SettingFile, "JailCommands", 0); dini_IntSet(SettingFile, "AnnounceSeconds", 3); dini_IntSet(SettingFile, "PassMin", 3); dini_IntSet(SettingFile, "PassMax", 15); } gSettings[POCKET_MONEY] = dini_Int(SettingFile, "PocketMoney"); //Main error line gSettings[JAIL_COMMANDS] = dini_Int(SettingFile, "JailCommands"); gSettings[ANNOUNCE_SECONDS] = dini_Int(SettingFile, "AnnounceSeconds"); gSettings[PASS_MIN] = dini_Int(SettingFile, "PassMin"); gSettings[PASS_MAX] = dini_Int(SettingFile, "PassMax");