Jump to content

Recommended Posts

Posted

Salut, am postat un tutorial cu Site schimbator la server, deoarece am vazut ca nu se gaseste asa ceva si cineva nu stie sa faca :]] e simplu.

Adauga:

[pawn]forward ChangeSite();[/pawn]

in gm-ul dvs.

Apoi la OnGameModeInit

[pawn]SetTimer("ChangeSite",2500,1);[/pawn]

Apoi adauga in gm-ul tau.

[pawn]public ChangeSite()

{

switch(random(3))

{

case 0:SendRconCommand("weburl www.SiteTau.Ro");

case 1:SendRconCommand("weburl BlaBla");

}

return 1;

}[/pawn]

Stiu ca e simplu si probabil nu este asa folositor... Dar nu aveam ce face. xD

modelcopiacopia.png

 wde [We Drift Everywhere] clan!

Posted

La fel ca random hostname, random modename ...

Dragut, 5/5, dar schimba

new rand=random(3);
	switch(rand)
in
switch(random(3))

Nu va mai creea o noua variabila.

Posted

Nu e cine stie ce , dar e folositori pentru cei ce vor sa invete sa scripteze  :))

communitylogosml.png

94.23.120.101:7778

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.