Problem onplayerspawn/gmx
#1

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?
Reply
#2

Do not make /gmx, just re-load the whole server.

Quit sampserver.exe and start it again, thats the way i do.
Reply
#3

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?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)