Jump to content

Cerere Tutorial


Recommended Posts

Nume: Zut

Nume tutorial: Une pun acest pawn code...random hostname

Descriere: Unde pun acest pawn code...random hostname

[pawn]forward ChangeHostname();

public OnFilterScriptInit()


  SetTimer("ChangeHostname",1000,1); // Change the, 1000 to whatever you want, in milliseconds ofc.

  return 1;


public ChangeHostname()


  new var = random(3);

  switch (var)


    case 0: SendRconCommand("hostname Server name 1");

    case 1: SendRconCommand("hostname Server name 2");

    case 2: SendRconCommand("hostname Server name 3");



Link to comment
Share on other sites

This topic is now closed to further replies.
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.