PASTEBIN MOORS.IN

გვერდების ძიება
ბოლოს დამატებული
Spcars Time
  1. //======================= NEW  =================//
  2. new spcstring[256];
  3.  
  4.  
  5. //============== CMD ============================//
  6. YCMD:spcars(playerid, params[], help)
  7. {
  8.     if(PlayerInfo[playerid][pLogin] == 0) return true;
  9.         if (PlayerInfo[playerid][pAdmin] < 1) return true;
  10.         if(sscanf(params, "d",params[0])) return SendClientMessage(playerid, COLOR_WHITE, "Sheiyvanet: /spcars [Dro]");
  11.         format(spcstring,sizeof(spcstring), "Administrator %s Daarespawnebs Manqnebs %d Wamshi!",Name(playerid),params[0]);
  12.         SendClientMessageToAll(COLOR_LIGHTRED,spcstring);
  13.         SetTimerEx("SpcarsDro",params[0]*1000,false,"i",playerid);
  14.         return true;
  15. }
  16.  
  17.  
  18.  
  19. //===================== PUBLICS ================//
  20. publics: SpcarsDro(playerid)
  21. {
  22.         for(new c=0; c<MAX_VEHICLES; c++) if(IsVehicleOccupied(c) == -1) SetVehicleToRespawn(c);
  23.         format(spcstring,sizeof(spcstring),"Administratorma %s Ganaaxla Manqanebi!",Name(playerid));
  24.         SendClientMessageToAll(COLOR_LIGHTRED,spcstring);
  25. }
Parsed in 0.005 seconds