GivePlayerWeapon not working
#7

Quote:
Originally Posted by Emmet_
Посмотреть сообщение
1) Is it under OnPlayerSpawn?
2) What is playerid? Show us a bit more code.
Playerid is a number assigned per player connected to a server, each number is unique, for example if you connected first on the server, you would get a unique number, such as 0, next player would be 1, then 2, then 3.

Now being on point, the playerid is being grabbed from the login. Obviously there was no issue with it, as he never stated he was getting undefined playerid, or such.

Using a mini timer after loading the data should fix all issues, since it would allow time for it to be loaded and then process it with GivePlayerWeapon. Hope this fixes it, good luck!
Reply


Messages In This Thread
[SOLVED] GivePlayerWeapon not working - by quagga - 09.11.2012, 21:15
Respuesta: GivePlayerWeapon not working - by Marricio - 09.11.2012, 21:19
Re: GivePlayerWeapon not working - by quagga - 09.11.2012, 21:25
Respuesta: GivePlayerWeapon not working - by Marricio - 09.11.2012, 21:32
Re: GivePlayerWeapon not working - by Emmet_ - 09.11.2012, 21:32
Re: GivePlayerWeapon not working - by [KHK]Khalid - 09.11.2012, 21:36
Re: GivePlayerWeapon not working - by Abreezy - 09.11.2012, 21:41
Re: GivePlayerWeapon not working - by quagga - 09.11.2012, 21:42

Forum Jump:


Users browsing this thread: 1 Guest(s)