Weapon System
#1

hey guys i wonder how i can put weapon skills i mean that you will be able to hold one tec9 one sawnoff etc..and when you get more than 10h in-game you will have full skills..how to do that
Regards,
Blacklisted_Bboy
Reply
#2

10 hours online, or generally 10 hours a player has played in your server?
You can make a timer OnPlayerConnect and after 10 hours to
PHP код:
  SetPlayerSkillLevel(playeridWEAPONSKILL_SAWNOFF_SHOTGUN1);
    
//This will make them use single-handed sawnoff shotguns. 
to set the Weapon Skills.
Weapon Skills:
Код:
WEAPONSKILL_PISTOL
WEAPONSKILL_PISTOL_SILENCED
WEAPONSKILL_DESERT_EAGLE
WEAPONSKILL_SHOTGUN
WEAPONSKILL_SAWNOFF_SHOTGUN
WEAPONSKILL_SPAS12_SHOTGUN
WEAPONSKILL_MICRO_UZI
WEAPONSKILL_MP5
WEAPONSKILL_AK47
WEAPONSKILL_M4
WEAPONSKILL_SNIPERRIFLE
Reply
#3

ok and how i will do like this?WEAPONSKILL_SNIPERRIFLE, 10(for 10 level)or something like that?
EDIT:Iunderstand it ok thx
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)