Niko_Hs

[FUNC]Respawn Automatico

Oct 7th, 2011
254
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.41 KB | None | 0 0
  1. /*Piccola Funzione di Respawn Automatico.*/
  2.  
  3. #include <a_samp>
  4.  
  5. public OnFilterScriptInit(){
  6. SetTimer("RespawnAutomatico", 20*60000, true); //20 Minuti.
  7. return 1;
  8. }
  9. /*Fuori Da ogni Funzione*/
  10.  
  11. forward RespawnAutomatico();
  12. public RespawnAutomatico()
  13. {
  14. SendClientMessageToAll(-1, "Respawn Automatico - Tutti i veicoli sono stati respawnati.");
  15. for(new i=0; i<MAX_VEHICLES; i++)SetVehicleToRespawn(i);
  16. }
Advertisement
Add Comment
Please, Sign In to add comment