[Tutorial] Server Sided Wepons
#24

You're correct on that. If someone runs out of ammo, the variable is still on true so he can spawn with cheats the same weapon.

I'd recommend to reset the variable to false.

pawn Код:
// Loop through weapons - an example
if( GetPlayerWeaponState( playerid ) == WEAPONSTATE_NO_BULLETS )
{
    // Reset the variable to false
}
Long time ago, I made the same server-side weapons and it works perfect. It notices the admins whoever uses a weapons that is not register to the mode.
Reply


Messages In This Thread
Server Sided Wepons - by Snipa - 18.03.2012, 02:30
Re: Server Sided Wepons - by MP2 - 18.03.2012, 02:38
Re: Server Sided Wepons - by antonio112 - 18.03.2012, 02:58
Re: Server Sided Wepons - by -Rebel Son- - 18.03.2012, 05:23
Re: Server Sided Wepons - by Max_Coldheart - 18.03.2012, 09:01
Re: Server Sided Wepons - by jameskmonger - 18.03.2012, 09:53
Re: Server Sided Wepons - by Nicholas. - 18.03.2012, 14:07
Re: Server Sided Wepons - by Garsino - 18.03.2012, 14:18
Re: Server Sided Wepons - by jameskmonger - 19.03.2012, 01:19
Re: Server Sided Wepons - by Snipa - 19.03.2012, 01:22
Re: Server Sided Wepons - by jameskmonger - 19.03.2012, 01:24
Re: Server Sided Wepons - by Snipa - 19.03.2012, 01:26
Re: Server Sided Wepons - by Tama - 19.03.2012, 04:21
Re: Server Sided Wepons - by jameskmonger - 19.03.2012, 07:05
Re: Server Sided Wepons - by Garsino - 19.03.2012, 07:40
Re: Server Sided Wepons - by Niko_boy - 19.03.2012, 11:42
Re: Server Sided Wepons - by .:Kaos:. - 19.03.2012, 11:52
Re: Server Sided Wepons - by Scripter12345 - 02.04.2012, 20:04
Respuesta: Server Sided Wepons - by Marricio - 03.04.2012, 01:53
Re: Respuesta: Server Sided Wepons - by Scripter12345 - 03.04.2012, 11:48
Re: Server Sided Wepons - by Snipa - 10.04.2012, 12:15
Re: Server Sided Wepons - by nickdodd25 - 21.04.2012, 05:48
Re: Server Sided Wepons - by Passout - 09.07.2013, 19:21
Re: Server Sided Wepons - by Konstantinos - 09.07.2013, 19:41
Re: Server Sided Wepons - by iNoBoDy - 09.07.2013, 23:27
Re: Server Sided Wepons - by Snipa - 28.07.2014, 00:12
Re: Server Sided Wepons - by billy123321 - 27.08.2014, 00:34
Re: Server Sided Wepons - by Snipa - 02.08.2015, 00:40
Re: Server Sided Wepons - by Cypress - 02.08.2015, 08:42
Re: Server Sided Wepons - by MBilal - 02.08.2015, 14:38
Re: Server Sided Wepons - by xVIP3Rx - 02.08.2015, 15:32
Re: Server Sided Wepons - by Jay_ - 02.08.2015, 15:45
Re: Server Sided Wepons - by Abagail - 02.08.2015, 19:04
Re: Server Sided Wepons - by Calgon - 02.08.2015, 19:04

Forum Jump:


Users browsing this thread: 2 Guest(s)