How could this be?
#1

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?
Reply
#2

bump
Reply
#3

Show the "CreateMap" and "AddMapToFile" functions.
Reply
#4

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)