10.05.2009, 21:54
How to change a gamemode by using a simple check of PropertyGet and PropertySet...?
|
Originally Posted by MenaceX^ [adream-rp.com
]
What PropretyGet + PropretySet are? |
public LOL()
{
new Rand = random(5);
if(Rand = 0)
{
SendRconCommand("changegm -Gamemode-");
}
else if (Rane = 1)
// So on ;)
}
new ChangeGM;
public LOL()
{
ChangeGM++;
if(ChangeGM == 5) ChangeGM = 1;
switch(CHangeGM)
{
case 1: SendRconCommand("changemode -Gamemode1-");
case 2: SendRconCommand("changemode -Gamemode2-");
case 3: SendRconCommand("changemode -Gamemode3-");
case 4: SendRconCommand("changemode -Gamemode4-");
}
}
|
Originally Posted by RKS_
for example mini missions, how they do it? randomly with files i think?, cuz they dont get repeated,it is effeciency,.
if i could get an example of that. |