Problem onplayerspawn/gmx - 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: Problem onplayerspawn/gmx (
/showthread.php?tid=108065)
Problem onplayerspawn/gmx -
GMusicOn - 12.11.2009
I have a problem with onplayerspawn.
Код:
IsPlayerSpawned[playerid] = 1;
Is used onplayerspawn so i can use commands when i'm spawned.
Ok works fine but when i /gmx and login again and spawn it is.
Код:
IsPlayerSpawned[playerid] = 0;
because i can't use commands.
Anyway to fix this problem?
Re: Problem onplayerspawn/gmx -
Jeffry - 12.11.2009
Do not make /gmx, just re-load the whole server.
Quit sampserver.exe and start it again, thats the way i do.
Re: Problem onplayerspawn/gmx -
GMusicOn - 12.11.2009
Quote:
Originally Posted by Jeffry
Do not make /gmx, just re-load the whole server.
Quit sampserver.exe and start it again, thats the way i do.
|
That's a possiblity but i just want a /gmx.
I'm not planning on sharing my password with other people to stop the server and starting it again.
I'm also not planning on using /gmx much, but i'm just testing my script so if needed i can /gmx without any problems.
Anybody knows a solution?