warning in a command, command doesn't work
#4

I won't read that it isn't needed you obviously didn't understand what i said but i'll try to make it more simple, you did this:
Код:
GivePlayerValidWeapon(giveplayerid, PlayerInfo[giveplayerid][pJailedWeapons][x]);
okay? that's a hook for GivePlayerWeapon to avoid weapon cheats, but GivePlayerWeapon has 3 params and what you just used is 2 (playerid and weaponid) so you forgot to add another spot for ammo so it should look like this:
Код:
GivePlayerValidWeapon(giveplayerid, PlayerInfo[giveplayerid][pJailedWeapons][x], ammo_param);
Reply


Messages In This Thread
warning in a command, command doesn't work - by IndependentGaming - 12.02.2018, 11:22
Re: warning in a command, command doesn't work - by RogueDrifter - 12.02.2018, 11:27
Re: warning in a command, command doesn't work - by IndependentGaming - 12.02.2018, 11:30
Re: warning in a command, command doesn't work - by RogueDrifter - 12.02.2018, 11:33

Forum Jump:


Users browsing this thread: 2 Guest(s)