Facebook
From fdsdfggf, 7 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 255
  1. #define COLOR_CYAN 0x00FFFFFF
  2.  
  3. //news frakcja
  4.         new Frakcja = gGracz[playerid][Frakcja];
  5.  
  6.         //Policja
  7.         CMD:stop(playerid, params[])
  8.         {
  9.                 if(Frakcja) == 1
  10.                 {
  11.                         new id;
  12.                         if(sscanf(params, "i", id))
  13.                                 SendClientMessage(playerid, COLOR_CYAN, "Uzyj: /stop [id]")
  14.                         else if(!IsPlayerConnected(id))
  15.                                 SendClientMessage(playerid, COLOR_CYAN, "Tego Gracza Niema Na Serwerze!")
  16.                         else
  17.                         {
  18.                                 new string[300];
  19.                                 new Gname[MAX_PLAYER_NAME];
  20.                                 GameTextForPlayer(id, "Polijant! - Zjedz na Pobocze i Zgas silnik w Przeciwnym razie otworzymy ogien!")
  21.                                 format(string, sizeof(string), "Policjant %s Kazal ci zjechac na Pobocze!", Gname);
  22.                         }
  23.                 }
  24.                 return 1;
  25.         }