[BUG]GetPlayerSkin at GMX? And other!
#1

Hello SA-MP Players and Scripters.

I found an little bug.

I have an Login & Register System and if i use the GetPlayerSkin Function, and i make a gmx (console->gmx or SendRconCommand("gmx") after the gmx my Player-Skin is "0".

All other Data is saved, Money etc. but only the Skin not.

Then i have another bug.

If i use gmx, and use gmx after the first gmx, my player-states are all "0" or password is nothing?

Can anyone confirm it?

PS: Sorry for my bad english haha xD im from germany :P
Reply
#2

had the same issue here
i suggest using a custom /gmx command instead of the default one

exmaple:

Code:
CMD:gmx(playerid,params[])
{
   if(!IsPlayerAdmin(playerid)) return 0;
   foreach(Player, x)
   {
         CallRemoteFunction("OnPlayerDisconnect", "ii", x, 101);
   }
   CallRemoteFunction("OnGameModeExit", "");
   GameModeExit();
   return 1;
}
or this https://sampforum.blast.hk/showthread.php?tid=250369
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)