when i use just give_item() it crashes server...
PHP Code:
if(PlayerClass[id] == CLASS_Rusher)
{
set_user_health(id, 120); // Jei tu esi homeris tau duoda 100hp
new Entity = give_item( id, "weapon_mp5navy" )
cs_set_weapon_ammo( Entity, 30);
cs_set_user_bpammo(id, CSW_MP5NAVY, 100);
set_user_armor(id, 150);
set_pev(id, pev_viewmodel2, "models/v_mp.mdl")
}
if you need more then i put all the code but this is where i puten the giving command
P.S.i added that new enity thing