Posts: 2,799
Threads: 95
Joined: Jun 2006
Reputation:
0
You can split it into seperate virtual worlds, and make sure chat only stays in the world the chatting player it in. So say worldid 0 would be freeroam, then if someone types /rp they spawn in worldid 1
You'd have to do something like world[playerid] and then keep that at 0 by default (freeroam) and 1 for rp world. Then you'd have to add checks in a lot of callbacks and functions
OnPlayerText
if(world[playerid] = 1) only chat in world 1
else do everything in world 0
onplayerspawn = you'll have to make sure they respawn in the right world.
onplayerdeath = keeping death messages separate
etc etc etc
Something like that is easy, the hardest part would be to make sure you're keeping FR stuff in FR world and RP stuff in RP world. Really the only way you'll pull this off quasi-successfuly is to keep them completely separate. Otherwise the RPers will get bent about the FR people screwing around and mocking them for staying in character lol.
Posts: 6,236
Threads: 310
Joined: Jan 2011
Reputation:
0
I was planning a server like this; essentially bringing single player into samp but the idea changes a lot.
Posts: 1,753
Threads: 277
Joined: Sep 2010
Reputation:
0
That's a great idea.
I might have a try at this :P
Thanks!
Posts: 66
Threads: 4
Joined: Feb 2012
Reputation:
0
I really like the idea of virtual worlds
Posts: 1,061
Threads: 29
Joined: Dec 2010
Reputation:
0
I like the concept a lot except the chat is annoying to have to fix.
Posts: 6,236
Threads: 310
Joined: Jan 2011
Reputation:
0
I don't like the idea of virtual worlds, to be honest. It's splitting players up.