help - 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 (
/showthread.php?tid=634758)
help -
Hammad123 - 25.05.2017
https://pastebin.com/UzD5p06a
link of the filter script,
errors :-
Код:
H:\2 to be restored in faraz root drive\New folder\filterscripts\eventbank.pwn(120) : error 017: undefined symbol "playerData"
H:\2 to be restored in faraz root drive\New folder\filterscripts\eventbank.pwn(120) : warning 215: expression has no effect
H:\2 to be restored in faraz root drive\New folder\filterscripts\eventbank.pwn(120) : error 001: expected token: ";", but found "]"
H:\2 to be restored in faraz root drive\New folder\filterscripts\eventbank.pwn(120) : error 029: invalid expression, assumed zero
H:\2 to be restored in faraz root drive\New folder\filterscripts\eventbank.pwn(120) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
help?
Re: help -
JasonRiggs - 26.05.2017
Show us the line..
Re: help -
Hammad123 - 26.05.2017
ive given the line of the fs check it out.
Re: help -
asri - 26.05.2017
i think like this
PHP код:
enum E_EVENT_DATA
{
EventHostID,
EventBankBalance
};
new EventData[E_EVENT_DATA];
Re: help -
coool - 26.05.2017
Change the "PlayerData" to the variable present in your script.
Re: help -
Hammad123 - 26.05.2017
we are using PlayerData in the script.
Re: help -
StrikerZ - 26.05.2017
You can't link a gamemode's variables with filterscript's actually.
Re: help -
DRIFT_HUNTER - 26.05.2017
Quote:
Originally Posted by Sunehildeep
You can't link a gamemode's variables with filterscript's actually.
|
You can if you use PVars, for player gariables, GVars plugin, or you could create public functions and use CallRemoteFunction native.
Re: help -
Hammad123 - 26.05.2017
cant you just edit and give me back the script? , i'm just new.
Re: help -
Toroi - 26.05.2017
If the rest of the script is using the variable
PlayerData with uppercase P, you are forced to call the variable with the uppercase P. Variables are case sensitive.