SERVER: Unknown Command.
#4

Код:
dcmd_points(playerid, params[])
{
    #pragma unused params
  if(logged[playerid] == 1)
  {
 	new file[128], pname[MAX_PLAYER_NAME];
  GetPlayerName(playerid, pname, sizeof(pname));
  format(file, sizeof(file), "\\Users\\%s.ini", pname);
  dini_IntSet(file, "serverpoints", serverpoints[playerid]);
  new str[128]; format(str, sizeof(str), "You currently have %d Server Points", serverpoints[playerid]);
  SendClientMessage(playerid, COLOR_YELLOW, str);
  SendClientMessage(playerid, red, "Type /spendpoints to find out what you can use you're points on!");
  }
		else {
		SendClientMessage(playerid, red, "Error: You need to be logged in to see you're server points!.");
		}
return 1;
}
i told you this on xfire >.>
Reply


Messages In This Thread
SERVER: Unknown Command. - by [mad]MLK - 09.09.2009, 00:06
Re: SERVER: Unknown Command. - by kevin974 - 09.09.2009, 00:34
Re: SERVER: Unknown Command. - by [mad]MLK - 09.09.2009, 00:47
Re: SERVER: Unknown Command. - by iLinx - 09.09.2009, 00:56
Re: SERVER: Unknown Command. - by [mad]MLK - 09.09.2009, 01:27
Re: SERVER: Unknown Command. - by Yuryfury - 09.09.2009, 02:26

Forum Jump:


Users browsing this thread: 1 Guest(s)