SA-MP Forums Archive
Hey - 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)
+--- Thread: Hey (/showthread.php?tid=528883)



Hey - SkRiLLeX032 - 30.07.2014

Can someone help me how to make when someone player join in my server give him weapons : Sawnoff , m4 , sniper , grenades , uzi ......?

If someone help me will REP+ ...


Re: Hey - SkRiLLeX032 - 30.07.2014

BUMB


Re: Hey - Cannary2048 - 30.07.2014

pawn Код:
public OnPlayerConnect(playerid)
{
     GivePlayerWeapon(playerid, [WeaponID], [Ammo]);
     return 1;
}
wiki.sa-mp.com/wiki/Weapons


Re: Hey - iFarbod - 30.07.2014

pawn Код:
public OnPlayerSpawn(playerid)
{
    GivePlayerWeapon(playerid, 26, 9999);
    GivePlayerWeapon(playerid, 28, 9999);
    GivePlayerWeapon(playerid, 16, 9999);
    GivePlayerWeapon(playerid, 34, 9999);
    GivePlayerWeapon(playerid, 31, 9999);
    // anything
    return 1;
}