Quote:
Originally Posted by Moody92
PHP Code:
set_task( 1.0, "SelectYourWeapons", id );
There is no such function as SelectYourWeapons, it should be something like this
PHP Code:
public SelectYourWeapons(id){
//blablablabla
}
I am assuming that you want the survivor to choose a weapon from a menu or something, if you specify what weapons you want to show on the menu, I can make the function from scratch.
|
Hmm, can you do that? I mean the plugin works like that, when there is a last human, the system gives that person some speed, some hp, some armor and some gravity so he can fight vs all the zombies. So it should give him a weapon as well? Is there a chance for that person to receive a menu like csdm menu "/guns" so that person will choose any weapon he wants to fight with against zombies? And those weapons to have like +10 bullets more than usual? Like for example Shotgun has 8 bullets, so when that menu appears and he chooses Shotgun, he can use it with 18 bullets instead 8. That makes sense? Or is this possible in any way? If it is and you can do it, can I ask you to make it like this? Only if you have time and you want, of course. A menu to appear for the last human so he can choose the following weapons:
Primary weapons:
weapon_m4a1 +10 bullets more than usual
weapon_ak47 +10 bullets more than usual
weapon_xm1014 +10 bullets more than usual
weapon_m3 +10 bullets more than usual
Secondary weapons:
weapon_deagle +10 bullets more than usual
weapon_usp +10 bullets more than usual
weapon_elite +10 bullets more than usual
And to fill his Grenades inventory:
Flashbang(in this case, frostgrenade)
HeGrenade(In this case, napalmnade)
SmokeGrenade(In this case, smokeflare)
Is it possible to create a system like that?