How to get name from score
#4

pawn Код:
#define COLOR_WHITE /*color hex here*/

new bool:IsMinistry[MAX_PLAYERS];

if(GetPlayerScore(playerid0 >= 100) && IsMinistry[playerid] == false)
{
  new output[128];
  new playername[MAX_PLAYER_NAME];
  GetPlayerName(playerid, playername);
  format(output, sizeof(output), "%s is now a member of the ministry.", playername);
  SendClientMessageToAll(COLOR_WHITE, output);
  IsMinistry[playerid] = true;
}
Reply


Messages In This Thread
How to get name from score - by [LHT]Bally - 08.12.2011, 03:58
Re: How to get name from score - by THE_KNOWN - 08.12.2011, 04:34
Re: How to get name from score - by [ABK]Antonio - 08.12.2011, 06:02
Re: How to get name from score - by Rob_Maate - 08.12.2011, 07:41

Forum Jump:


Users browsing this thread: 1 Guest(s)