SA-MP Forums Archive
Hello guys I was working on my Saving system and i got this error please help me. - 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: Hello guys I was working on my Saving system and i got this error please help me. (/showthread.php?tid=368914)



Hello guys I was working on my Saving system and i got this error please help me. - Gangster-rocks - 15.08.2012

Код:
C:\DOCUME~1\admin\Desktop\LOLOLO~1\FILTER~1\p.pwn(208) : error 022: must be lvalue (non-constant)
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
this is the code
pawn Код:
INI_Int("Postion",GetPlayerPos(playerid,GetPos[playerid][X],GetPos[playerid][Y],GetPos[playerid][Z]));



Re: Hello guys I was working on my Saving system and i got this error please help me. - Kindred - 15.08.2012

Pretty sure you have to use INI_Float instead, seeing as it is a position.

pawn Код:
INI_Float("Postion",GetPlayerPos(playerid,GetPos[playerid][X],GetPos[playerid][Y],GetPos[playerid][Z]));