Help in OnPlayerSpawn
#1

Hi guys, I need help with my callback.

When an administrator uses the command /spec to observe a player position it was in before it is saved. Later when the administrator writes /specoff the reappears in its position but with the problem of lost weapons and ammunition which always carried with him. I know that the problem lies in this OnPlayerSpawn but not how to troubleshoot.

I do not know the callback because it is the basis of other gamemode, and I need someone who understands best.

This is how I have fixed the code, position is saved but not weapons appear and others.

PHP код:
CODE REMOVED 
ADDED: What happens when the admin ends to observe is what is located at the beginning of the callback.

Thank you for your help !
Reply


Messages In This Thread
Help in OnPlayerSpawn - by Guss - 31.10.2015, 03:59
Re: Help in OnPlayerSpawn - by Kevln - 31.10.2015, 04:32
Respuesta: Re: Help in OnPlayerSpawn - by Guss - 31.10.2015, 18:34

Forum Jump:


Users browsing this thread: 2 Guest(s)