P90 i he dostaje tylko gdy zabije innego gracza z flaga T, gdy on mnie zabije to on ma a ja nie mam ;x. A hp i speeda wogóle nie zmienia.
Kod:
/* Plugin generated by AMXX-Studio */
#include <amxmisc>
#include <fun>
#include <hamsandwich>
#include <cstrike>
#define PLUGIN "VIP PaintBall"
#define VERSION "1.0"
#define AUTHOR "Nup"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
RegisterHam(Ham_Spawn,"player","spawned",0)
}
public spawned(id){
if(!is_user_alive(id)){
return HAM_IGNORED;
}
if(get_user_flags(id) & ADMIN_LEVEL_H)
{
give_item(id, "weapon_hegrenade");
give_item(id, "weapon_p90");
cs_set_user_bpammo( id, CSW_P90, 100 );
set_user_health(id, 200);
set_user_maxspeed(id, 340.0)
}
return HAM_IGNORED;
}


Dodatki SourceMod



Temat jest zamknięty








