30.07.2017, 17:43
Ok firstly, when the player connects to my server, they go to class request where they select a suitable skin and then they are able to spawn. Well that's not the problem. The problem happens when the player uses my "/changeteam" command, where the player goes back to class request but there will be vehicles in the background which I added, like for example, Grove Street, there are cars all around but when the player connects at first, browsing through classes, there are no cars in the background but when the player uses changeteam and go back to class request, and while browsing through Grove Street class for example, the vehicles will be in the background. Well I checked at other servers and they don't have this.
Well, OnPlayerConnect, I set the player's virtual world to "2".
Then, OnPlayerSpawn, its virtual world is "0".
OnPlayerDeath, there is no virtual world set.
OnPlayerRequestClass, I don't have any virtual world set..... its just SetPlayerInterior(playerid, 0)
At my /changeteam command, I don't use any virtual world. Just goes to ClassSelection.
Conclusion is, I know this seems like a very stupid or useless thread, but then my problem still persists. Anyone have any ideas why the vehicles are in the background? +REP will be rewarded for any response towards solving this minor ridiculous issue. Thanks.
Well, OnPlayerConnect, I set the player's virtual world to "2".
Then, OnPlayerSpawn, its virtual world is "0".
OnPlayerDeath, there is no virtual world set.
OnPlayerRequestClass, I don't have any virtual world set..... its just SetPlayerInterior(playerid, 0)
At my /changeteam command, I don't use any virtual world. Just goes to ClassSelection.
Conclusion is, I know this seems like a very stupid or useless thread, but then my problem still persists. Anyone have any ideas why the vehicles are in the background? +REP will be rewarded for any response towards solving this minor ridiculous issue. Thanks.