Player Class does not spawn with weapons?
#5

Quote:
Originally Posted by BlackWolf120
Посмотреть сообщение
maybe the problem is that u are giving them weapons of the same slot.

weaponid 22,23 belong both to slot 2
weaponid 41,43 belong to slot 9

See: https://sampwiki.blast.hk/wiki/Weapons

I dont know if that causes the problem but id suggest u to try it out.
For me the GivePlayerWeapon function works well so i dont know why ur isnt working...

regards..
Nope it not I just did this
pawn Код:
case 1: { // Los Santos Police Department
            SetPlayerPos(playerid, 1552.6029,-1676.2701,16.1953);
            SetPlayerCameraPos(playerid, 1552.6029,-1676.2701,16.1953);
            SetPlayerCameraLookAt(playerid, 1552.6029,-1676.2701,16.1953);
            SetPlayerColor(playerid, 0x7F7F7FFF); // Gray
            SendClientMessage(playerid, 0x80FF00FF,"Los Santos Police Department!");
            GivePlayerWeapon(playerid, 41, 50000);
            //GivePlayerWeapon(playerid, 22, 5000);
            //GivePlayerWeapon(playerid, 23, 500);
            //GivePlayerWeapon(playerid, 29, 500);
            //GivePlayerWeapon(playerid, 43, 500);
and I didnt have any weapons ;/
Reply


Messages In This Thread
Player Class does not spawn with weapons? - by propilot - 23.12.2010, 00:43
Re: Player Class does not spawn with weapons? - by BlackWolf120 - 23.12.2010, 00:49
Re: Player Class does not spawn with weapons? - by propilot - 23.12.2010, 01:06
Re: Player Class does not spawn with weapons? - by BlackWolf120 - 23.12.2010, 01:23
Re: Player Class does not spawn with weapons? - by propilot - 23.12.2010, 01:29
Re: Player Class does not spawn with weapons? - by BlackWolf120 - 23.12.2010, 01:45

Forum Jump:


Users browsing this thread: 1 Guest(s)