Cant see what i have to do
#1

So i am trying to make my script save the player cords in a file titled by their name, i have been looking at the wiki a lot for this but it keeps telling me when i compile it that there are too many arguments for the fwrite line, can you tell me what i have to do to get this to work?
here is the Script, im compiling it on the 0.3b pawn includes if that helps.
Reply
#2

pawn Код:
format(string, sizeof string, "X: %f\n\r Y: %f\n\r Z: %f\n\r", x, y, z);
fwrite(stats, string);
Not everything works as a format thingy.
Reply
#3

thanks ill edit and try
Reply
#4

ok i updated it, now im having a hard time getting it to first see if the file exists, and then have it automatically spawn the player in that location, i probably to add a SetPlayerSkin somewhere dont i?

this is the updated version of the script:
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)