Raised This Month: $51 Target: $400
 12% 

Solved [CSTRIKE] Non-player entity 0 out of range


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Fuck For Fun
Veteran Member
Join Date: Nov 2013
Old 07-21-2019 , 06:02   [CSTRIKE] Non-player entity 0 out of range
Reply With Quote #1

PHP Code:
L 07/22/2019 12:08:31: [CSTRIKENon-player entity 0 out of range
L 07
/22/2019 12:08:31: [AMXXDisplaying debug trace (plugin "jailbreak_lastrequest.amxx"version "v1.0")
L 07/22/2019 12:08:31: [AMXXRun time error 10native error (native "cs_set_weapon_ammo")
L 07/22/2019 12:08:31: [AMXX]    [0jailbreak_lastrequest.sma::taskGiveWeapon (line 1258
Lines 1258 Colored Red:
Code:
public taskGiveWeapon(iTaskId)
{
	if (!is_user_alive(ID_GIVEWEAPON))
		return;

	if (ID_GIVEWEAPON == g_rgLR[LR_GUARD])
	{
		if (is_user_alive(g_rgLR[LR_PRISONER]))
			StripWeapons(g_rgLR[LR_PRISONER]);
	}
	else
	{
		if (is_user_alive(g_rgLR[LR_GUARD]))
			StripWeapons(g_rgLR[LR_GUARD]);
	}

	new pWeapon = give_item(ID_GIVEWEAPON, g_pszNameLrWeapon);

	if (pWeapon != -1)
		cs_set_weapon_ammo(pWeapon, 1);
}

Last edited by Fuck For Fun; 07-22-2019 at 20:05. Reason: Solved
Fuck For Fun is offline
Send a message via Skype™ to Fuck For Fun
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:54.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode