07.05.2012, 18:22
And my 5 cents about my code.
If you paste any code below
then everything what you did will be done for playerid only and only when he spawns.
You can get all weaponid's here: SA-MP Wiki: Weapons
So if you want for example give player Minigun with 1000 rounds, then:
Easy, isnt it?
Wanna know anything else?
Head here:Have fun
Greetz,
LetsOWN
pawn Код:
GivePlayerWeapon(playerid, 30, 50);
pawn Код:
public onPlayerSpawn(playerid)
Код:
GivePlayerWeapon(playerid, weaponid, ammo)
So if you want for example give player Minigun with 1000 rounds, then:
pawn Код:
GivePlayerWeapon(playerid, 38, 1000);
Wanna know anything else?
Head here:Have fun

Greetz,
LetsOWN