SA-MP Forums Archive
error 017: undefined symbol "ReadPlayer" and error 017: undefined symbol "WritePlayer" - 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: error 017: undefined symbol "ReadPlayer" and error 017: undefined symbol "WritePlayer" (/showthread.php?tid=533830)



error 017: undefined symbol "ReadPlayer" and error 017: undefined symbol "WritePlayer" - brandypol - 26.08.2014

I was making a player info saving system inmy gamemode script and then when I compiled I got those two errors :

error 017: undefined symbol "WritePlayer"

and

error 017: undefined symbol "ReadPlayer"

What can I do to correct these ?


Re: error 017: undefined symbol "ReadPlayer" and error 017: undefined symbol "WritePlayer" - brandypol - 26.08.2014

Someone help me :/


Re: error 017: undefined symbol "ReadPlayer" and error 017: undefined symbol "WritePlayer" - 1fret - 26.08.2014

pawn Код:
new ReadPlayer;
new WritePlayer;



Re: error 017: undefined symbol "ReadPlayer" and error 017: undefined symbol "WritePlayer" - brandypol - 26.08.2014

Quote:
Originally Posted by 1fret
Посмотреть сообщение
pawn Код:
new ReadPlayer;
new WritePlayer;
Thanks those errors are now corrected but there's 4 other errors that got added in my script here they are :

(74) : error 012: invalid function call, not a valid address
(74) : error 001: expected token: ";", but found ")"
(74) : error 029: invalid expression, assumed zero
(74) : fatal error 107: too many error messages on one line

Here is the code(the line) where are located the errors :

public Spawn(playerid)
{
SpawnPlayer(playerid);
SetPlayerSkin(playerid, strval(ReadPlayer(2,playerid))); <-----
}


Re: error 017: undefined symbol "ReadPlayer" and error 017: undefined symbol "WritePlayer" - Stinged - 26.08.2014

Let me guess, you copied this from another script?

Just go that and copy the functions.


Re: error 017: undefined symbol "ReadPlayer" and error 017: undefined symbol "WritePlayer" - Guest4390857394857 - 26.08.2014

What is in line 74 .. provide us?


Re: error 017: undefined symbol "ReadPlayer" and error 017: undefined symbol "WritePlayer" - 1fret - 26.08.2014

Quote:
Originally Posted by Stinged
Посмотреть сообщение
Let me guess, you copied this from another script?

Just go that and copy the functions.
thats what i was thinking too. Great mines think alike.i think the line with <----- is 74


Re: error 017: undefined symbol "ReadPlayer" and error 017: undefined symbol "WritePlayer" - brandypol - 26.08.2014

Quote:
Originally Posted by 1fret
Посмотреть сообщение
thats what i was thinking too. Great mines think alike.i think the line with <----- is 74
Quote:
Originally Posted by ShivRp
Посмотреть сообщение
What is in line 74 .. provide us?
Quote:
Originally Posted by Stinged
Посмотреть сообщение
Let me guess, you copied this from another script?

Just go that and copy the functions.
Guys I needed help not people to criticize my script...


Re: error 017: undefined symbol "ReadPlayer" and error 017: undefined symbol "WritePlayer" - Stinged - 26.08.2014

I already told you to copy the functions from the script..