SA-MP Forums Archive
How could this be? - 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: How could this be? (/showthread.php?tid=251011)



How could this be? - Lorenc_ - 25.04.2011

Hai, i made a dynamic map creating script although i debugged two functions and it seemed to still not work, functions are fine variables are fine.

So i made these:
pawn Код:
CreateMap( inputtext, ReturnPlayerName(playerid), oPos[1], oPos[2], oPos[3], tPos[1], tPos[2], tPos[3] );
                AddMapToFile( inputtext, ReturnPlayerName(playerid), oPos[1], oPos[2], oPos[3], tPos[1], tPos[2], tPos[3] );
and then it outputs

Код:
Test, Lorenc, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000
Whys this? Perhaps i need to create something

I've created this aswell.
pawn Код:
printf("%f %f %f", tPos[1], tPos[2], tPos[3]);
Worked fine showed the co-ordinates,i guess only prob is with the saving. Anyone know why?


Re: How could this be? - Lorenc_ - 25.04.2011

bump


Re: How could this be? - [L3th4l] - 26.04.2011

Show the "CreateMap" and "AddMapToFile" functions.


Re: How could this be? - Lorenc_ - 26.04.2011

I don't want to because both of the functions work properly. I tested them 100 times its just i might need to make a string or something.