PDA

View Full Version : All Bazookas


!TK!- Cold Blooded
10-24-2007, 03:29 AM
Is there a plugin that will only give players a knife, pistol, and unlimited bazooka rounds? I have looked around but found nothing.

Tony Almeida
10-24-2007, 07:40 PM
You can get the oneweapon plugin which will allow you to have every player in your server with any weapon and unlimited ammo....however you won't be able to have a sidearm or melee weapon.

Wilson [29th ID]
10-25-2007, 09:09 AM
Just change every class limit to 0 except bazooka. Then you just need a really simple plugin..


#include <amxmodx>
#include <amxmisc>
// Pretty sure it's dodx. If it doesn't compile, change this to dodfun
#include <dodx>

public plugin_init()
register_plugin( "Unlimited Ammo", "Satan Clause", "x" );

public dod_client_spawn( id )
dod_set_user_ammo( id, 999 );

!TK!- Cold Blooded
10-26-2007, 07:02 AM
Bummer I received this message

/home/groups/amxmodx/tmp3/phpuYMVNF.sma(10) : error 017: undefined symbol "dod_set_user_ammo"

1 Error.
Could not locate output file /home/groups/amxmodx/public_html/websc3/phpuYMVNF.amx (compile failed).

knife108
10-29-2007, 08:59 AM
Bummer I received this message

/home/groups/amxmodx/tmp3/phpuYMVNF.sma(10) : error 017: undefined symbol "dod_set_user_ammo"

1 Error.
Could not locate output file /home/groups/amxmodx/public_html/websc3/phpuYMVNF.amx (compile failed).


make sure your amxx version is 1.75 or above.


and pay attention to the codes in your oneweapon.sma:


// Pretty sure it's dodx. If it doesn't compile, change this to dodfun
#include <dodx>