Message about saving
#1

This code compiles fine, but doesn't work Why?


Код:
#include <IsPlayerLAdmin>

 new Xname[ 24 ];
 new stringC [56];

if (strcmp(cmdtext, "/save", true)==0)
  {
		GetPlayerName( playerid, Xname, 24 );
		
    new File:pos=fopen("Antisaveing.txt", io_append);
    format(stringC, 56, "%s–trying to copy your cordinates\%s\r\n",Xname);
    fwrite(pos, stringC);
    fclose(pos);
    SendClientMessageToAll(COLOR_RED, stringC);
    	 }
		else if(IsPlayerAdminLevel(playerid, 10))
		{
		SendClientMessage(playerid, COLOR_YELLOW, "You saved smth");
    return 1;
  }
Reply


Messages In This Thread
Message about saving - by Liustas - 19.06.2009, 21:07
Re: Message about saving - by Danny_Costelo - 19.06.2009, 21:25

Forum Jump:


Users browsing this thread: 1 Guest(s)