[UnSovled] /Coord Command Saving To File
#7

i am way confused maybe some one can make a code for me from this code
pawn Код:
if (strcmp("/coord", cmdtext, true, 10) == 0)
    {
    new t = playerid;
    new str[256];
    new Float:Pos[MAX_PLAYERS][4];
    GetPlayerPos(t,Pos[t][0],Pos[t][1],Pos[t][2]);
    GetPlayerFacingAngle(t,Pos[t][3]);
   
    format(str, 256,"x= %.4f y= %.4f z= %.4f a= %.4f",Pos[t][0],Pos[t][1],Pos[t][2],Pos[t][3]);
    SendClientMessage(playerid, 0xFF0000AA, "Thank You Your Coords And Vehicle ID Have Ben Saved");
    return 1;
    }
i want it to save a file name of the users name that type /command and to make it save they're Pos And there Vehicle ID to a .txt file
Reply


Messages In This Thread
[UnSovled] /Coord Command Saving To File - by fsnameless - 28.12.2009, 05:23
Re: [Question] Creating A file - by dice7 - 28.12.2009, 08:43
Re: [Question] Creating A file - by fsnameless - 28.12.2009, 21:36
Re: [Question] Creating A file - by Abernethy - 28.12.2009, 21:39
Re: [Question] Creating A file - by dice7 - 28.12.2009, 22:06
Re: [Question] Creating A file - by fsnameless - 28.12.2009, 22:09
Re: [Question] Creating A file - by fsnameless - 29.12.2009, 00:05
Re: [Question] Creating A file - by xspeedasx - 29.12.2009, 07:19
Re: [Question] Creating A file - by retart441 - 29.12.2009, 07:21
Re: [Question] Creating A file - by dice7 - 29.12.2009, 08:55

Forum Jump:


Users browsing this thread: 1 Guest(s)