Author Topic: How to make seprate weapons for player  (Read 2119 times)

0 Members and 1 Guest are viewing this topic.

Offline sherwin688

  • Street Thug
  • *
  • Posts: 43
  • dead man wakin
    • View Profile
How to make seprate weapons for player
« on: March 20, 2014, 12:30:08 pm »
How to make separate weapons for player. Example: I choose biker skin in my server the default weps are shotgun,tec and m4 how to make it stubby,m60.m4.uzi

Offline mrockxkingbutt

  • Crime Boss
  • ****
  • Posts: 373
  • I AM Best Scripter And You Are Not :P
    • View Profile
Re: How to make seprate weapons for player
« Reply #1 on: March 20, 2014, 12:41:44 pm »
onplayer spawn

if(classid == 1) {
SetPlayerWeapon,playerid,wep,ammo,
SetPlayerWeapon,playerid,wep,ammo,
SetPlayerWeapon,playerid,wep,ammo,
SetPlayerWeapon,playerid,wep,ammo,



If You Added

AddPlayerClassEx(1.etc);


it will work like this!
My Servers Showroom!
www.jimxvcmpscripts.createaforum.com/

Quote from:  rohanaj60
i m a great script Editor

Rofl! lmao lol

Offline sherwin688

  • Street Thug
  • *
  • Posts: 43
  • dead man wakin
    • View Profile
Re: How to make seprate weapons for player
« Reply #2 on: March 21, 2014, 11:53:31 am »
Thnx

Offline NeskWriter

  • Crime Boss
  • ****
  • Posts: 355
    • View Profile
Re: How to make seprate weapons for player
« Reply #3 on: March 21, 2014, 11:13:06 pm »
A code mrockx posted is definitely bullshit. Use AddPlayerClassEx in public function "OnGameModeInit". Here are parameters of the function:
(teamid, modelid, Float:x, Float:y, Float:z, Float:Angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo)


-Funniest quotes-

Quote from: asad3man
i cant able to understand