Need help! [VERY IMPORTANT] [INGAME PAWN SCRIPTING]
#6

pawn Код:
new Float:Pos[MAX_PLAYERS][4];

GetPlayerPos(playerid,Pos[playerid][0],Pos[playerid][1],Pos[playerid][2]);
GetPlayerFacingAngle(playerid,Pos[playerid][3]);
format(Tele,256,"Coordinates succesfully defined: %.4f,%.4f,%.4f ",Pos[playerid][0],Pos[playerid][1],Pos[playerid][2],Pos[playerid][3]);
new File: PwnFile;
PwnFile = fopen(TelePawn,io_append);
fwrite(PwnFile,Tele);
fclose(PwnFile);
Credits to Nolo
https://sampforum.blast.hk/showthread.php?tid=53583
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)