SA-MP Forums Archive
Virtual Changes on Player Death and Teleport - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Virtual Changes on Player Death and Teleport (/showthread.php?tid=218735)



Virtual Changes on Player Death and Teleport - ajajajajajaja - 30.01.2011

When ever someone dies or teleports, their virtual world changes. I need it to stay at 0. I've looked through the script, but I don't know what code I should post for you guys to check.


Re: Virtual Changes on Player Death and Teleport - Mauzen - 30.01.2011

Search in your whole script for SetPlayerVirtualWorld with ctrl + f


Re: Virtual Changes on Player Death and Teleport - ajajajajajaja - 30.01.2011

Quote:
Originally Posted by Mauzen
Посмотреть сообщение
Search in your whole script for SetPlayerVirtualWorld with ctrl + f
I've gone through them all. What would it look like that I'm looking for? Here's what comes up a lot:
Код:
SetPlayerVirtualWorld(playerid,20);
but the number changes.

The reason why I'm asking these noobish questions is because I actually do not script, and our scripter is gone for 2 weeks.


Re: Virtual Changes on Player Death and Teleport - DRIFT_HUNTER - 31.01.2011

Quote:
Originally Posted by ajajajajajaja
Посмотреть сообщение
I've gone through them all. What would it look like that I'm looking for? Here's what comes up a lot:
Код:
SetPlayerVirtualWorld(playerid,20);
but the number changes.

The reason why I'm asking these noobish questions is because I actually do not script, and our scripter is gone for 2 weeks.
Well i suggest you first backup all files before you start do something
And yes thats it SetPlayerVirtualWorld(playerid,20); just remove that from command's or change 20 to 0


Re: Virtual Changes on Player Death and Teleport - TheYoungCapone - 31.01.2011

on all your teleports change the virtual world to 0 or you can just delete SetPlayerVirtualWorld