Home
Help
Search
Login
Register
Vice City Multiplayer
»
VC:MP 0.3
»
mIRC/pawn Scripting
(Moderators:
Simon
,
kenny01
) »
How to make seprate weapons for player
« previous
next »
Print
Pages: [
1
]
Author
Topic: How to make seprate weapons for player (Read 2810 times)
0 Members and 1 Guest are viewing this topic.
sherwin688
Street Thug
Posts: 43
dead man wakin
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
Logged
mrockxkingbutt
Crime Boss
Posts: 373
I AM Best Scripter And You Are Not :P
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!
Logged
My Servers Showroom!
www.jimxvcmpscripts.createaforum.com/
Quote from: rohanaj60
i m a great script Editor
Rofl! lmao lol
sherwin688
Street Thug
Posts: 43
dead man wakin
Re: How to make seprate weapons for player
«
Reply #2 on:
March 21, 2014, 11:53:31 am »
Thnx
Logged
NeskWriter
Crime Boss
Posts: 355
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
)
Logged
-Funniest quotes-
Quote from: asad3man
i cant able to understand
Print
Pages: [
1
]
« previous
next »
Vice City Multiplayer
»
VC:MP 0.3
»
mIRC/pawn Scripting
(Moderators:
Simon
,
kenny01
) »
How to make seprate weapons for player