25.04.2011, 13:14
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:
and then it outputs
Whys this? Perhaps i need to create something
I've created this aswell.
Worked fine showed the co-ordinates,i guess only prob is with the saving. Anyone know why?
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] );
Код:
Test, Lorenc, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000
I've created this aswell.
pawn Код:
printf("%f %f %f", tPos[1], tPos[2], tPos[3]);