how to add weapon,s when player spawns
#6

And my 5 cents about my code.

pawn Код:
GivePlayerWeapon(playerid, 30, 50);
If you paste any code below
pawn Код:
public onPlayerSpawn(playerid)
then everything what you did will be done for playerid only and only when he spawns.
Код:
GivePlayerWeapon(playerid, weaponid, ammo)
You can get all weaponid's here: SA-MP Wiki: Weapons
So if you want for example give player Minigun with 1000 rounds, then:
pawn Код:
GivePlayerWeapon(playerid, 38, 1000);
Easy, isnt it?

Wanna know anything else?

Head here:Have fun

Greetz,
LetsOWN
Reply


Messages In This Thread
how to add weapon,s when player spawns - by MerCy - 07.05.2012, 16:00
Re: how to add weapon,s when player spawns - by LetsOWN[PL] - 07.05.2012, 16:03
Re: how to add weapon,s when player spawns - by $$inSane - 07.05.2012, 16:05
Re: how to add weapon,s when player spawns - by MerCy - 07.05.2012, 16:25
Re: how to add weapon,s when player spawns - by Ballu Miaa - 07.05.2012, 16:30
Re: how to add weapon,s when player spawns - by LetsOWN[PL] - 07.05.2012, 18:22
Ballu Miaa - by MerCy - 07.05.2012, 21:24
Re: how to add weapon,s when player spawns - by Ballu Miaa - 08.05.2012, 07:22

Forum Jump:


Users browsing this thread: 1 Guest(s)