SA-MP Forums Archive
Help! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help! (/showthread.php?tid=272510)



Help! - RandomDude - 28.07.2011

Well How Can I Give The Player Weapons Soon As He Spawns [I KNOW HOW BUT JUST RE-ASKING BECUSE INCASE I GET SOMETHING WRONG I KNOW MY MISTAKE]
So Someone Tell Me How To Give The Player A Weapon On Spawn


Re: Help! - Jay. - 28.07.2011

pawn Код:
GivePlayerWeapon(playerid,Weaponid, ammo) //.........?
Weapon ids:

https://sampwiki.blast.hk/wiki/Weapons


Re: Help! - Mean - 28.07.2011

pawn Код:
public OnPlayerSpawn( playerid ) {
    GivePlayerWeapon( playerid, your weapon ID goes here, ammount of ammo goes here );
    return 1;
}



Re: Help! - RandomDude - 28.07.2011

Good Good LOL
At Least Some People Know!
xD!
Thnx


Re: Help! - MTiFa - 28.07.2011

lol?