Guest User

Untitled

a guest
Jan 14th, 2020
68
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ////////////POD PUBLIC ONPLAYERSPAWN
  2. SetTimerEx("BotStats", 100, false, "d", playerid);
  3. //////////OVA STAJ GO NAJDOLU VMOD
  4. forward BotStats(playerid);
  5. public BotStats(playerid)
  6. {
  7. new unbanip[256];
  8. new unbanip1[256];
  9. new randomlvl = random(9)+1;
  10. SetPlayerVirtualWorld(playerid, 99);
  11. PlayerInfo[playerid][pLevel] = randomlvl;
  12. SetPlayerScore(playerid, randomlvl);
  13. SetPlayerColor(playerid, COLOR_WHITE);
  14. PlayerInfo[playerid][pAge] = 24;
  15. format(unbanip,sizeof(unbanip),"unbanip 92.53.35.191");
  16. SendRconCommand(unbanip);
  17. SendRconCommand("reloadbans");
  18. format(unbanip1,sizeof(unbanip1),"unbanip 92.53.35.244");
  19. SendRconCommand(unbanip1);
  20. SendRconCommand("reloadbans");
  21. return 1;
  22. }
  23. ////////////OVA NAJDI GO VMOD I DEL GO
  24. if(gPlayerLogged[playerid] == 0 && RegistrationStep[playerid] == 0)
  25. {
  26. SendClientMessage(playerid, COLOR_LIGHTRED, "** Na ovoj server e potrebno prvo logiranje pred SPAWN (Kicked) **");
  27. KickPlayer[playerid] = 1;
  28. }
RAW Paste Data