SA-MP Forums Archive
What wrong ? Scracht 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: What wrong ? Scracht problem. (/showthread.php?tid=195048)



What wrong ? Scracht problem. - iRana - 01.12.2010

Hi guys I am making a Gm from Scracht I make pickups from scracht with following Info.


Code Removed":

It spawn me here
In picture there is Pickup...

I try by making test cmd in which I use same float to set player pos and it spawn me in right position.


Re: What wrong ? Scracht problem. - Calgon - 01.12.2010

Since you're loading the floats from a file - can you first clarify that they exist in the file? If so, try see what dini returns and print it:

pawn Код:
printf("[DEBUG] GETPOSX = %f | GETPOSY = %f | GETPOSZ = %f ", dini_Float(file,"GETPOSX"), dini_Float(file,"GETPOSY"), dini_Float(file,"GETPOSZ"));



Re: What wrong ? Scracht problem. - iRana - 01.12.2010

LOlz 0.0000 0.0000 0.00000


Re: What wrong ? Scracht problem. - iRana - 01.12.2010

Any idea hOw to Fix it ??


Re: What wrong ? Scracht problem. - Calgon - 01.12.2010

Have you checked your file to verify that the values in the file aren't 0.000?


Re: What wrong ? Scracht problem. - iRana - 01.12.2010

Removed Code:


Re: What wrong ? Scracht problem. - iRana - 01.12.2010

Help please..........


Re: What wrong ? Scracht problem. - ReVo_ - 01.12.2010

#define LOADS_FILE "LoadPickups/Load_%d.ini"