command to make /resetgui reload character at lspd
#1

hey guys, i have a bug in my server where once in a while textures and objects dont load, so a character will be standing in a world full of nothing and unable to do anything...what i want to do is make it so that when the character encounters this problem, they can just type /resetgui and have there character reset at the lspd.....so heres an example....., user logs in.....nothing loads for them, no textures, no map......they then type /resetgui and they get teleported to the front of the lspd so that textures can reload themselves....it also needs to save the weapons they currently have....so maybe just a teleport?....suggestions/help would be greatly appreciated, rep+ or trying to help
Reply
#2

Have u tested this with other people online on you server ?? as in.. Are you the only one having this problem ?? are other people in ur server having this problem ??
Reply
#3

Probably something is wrong with setting SetPlayerInterior. Search your script for any timers using it.
Reply
#4

A few people have experienced it. And they have no way of reseting things so they get permanently stuck in a world of nothing. That's what has triggered me to try and get a /resetgui fix implemented.it also seems to mainly happen upon login if that helps.
Reply
#5

Also do you have a rough estimate of how many objects you have on ur server ?? cause the problem might the amount of objects might have exceeded the limit.. in that cause you will have to install a streamer

Or

Try adding this under
OnPlaySpawn

pawn Код:
SetPlayerInterior(playerid,0);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)