Changing modes
#1

Hello.
I want to make different modes on my gm, lets say like a dm mode, stunt mode, rp mode.
All I need some some advise on how to make this. A way to check if a player is in mode 1, so they cant use cmds from mode 2.
This might be easy as hell, but Im still kinda new to this =).

Regards. Buwla
Reply
#2

I'm not sure but check at wiki for changing virtual world for each mode. Then limiting commands it's easy just check if the player is in same the virtual world with the command you want.
Reply
#3

I know i said rp mode as an example, then virtual worlds would of been really needed.
I want all modes(not going to have a rp mode) to be in the same vw, thats why I need something that checks what modes players use.

But thanks for the answer.
Reply
#4

Make like new stuntworld[MAX_PLAYERS];
then the player have to type like /stuntworld, then on each cmd check if stuntworld = 1

But that is just a guess
Reply
#5

What the other guy said, have a cmd like /stuntworld and change Virtual World to like 2 or 3 or soemthing, and have all stunt commands check for World 2 or 3. Then they can only see other stunters, and use those commands.
Reply
#6

Thats what I was after =). Thanks
Reply
#7

Cant figure it out how to put ppl in other modes.
Lets say I have put it like you said, new stuntworld[MAX_PLAYERS]; now how do I set players to the "stuntworld"?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)