SA-MP Forums Archive
Help me please - 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 me please (/showthread.php?tid=127733)



Help me please - HieNNNa - 14.02.2010

Hi , Please give me the command /agun ? Adminguns...

Guns : mp5 , deagle , m4 , sniper , (Infinit Ammo )

Please somebody help me ?

For admin 5000


Re: Help me please - Guedes747 - 14.02.2010

Click me for answers!


Re: Help me please - [Bm]rap45 - 14.02.2010

Well, this is scripting discussion for some reason, this is the place to learn how to script, not just to request things like " i want a car there and one here and a teleport command if you can please" if you want to request them then go to http://forum.sa-mp.com/index.php?topic=144062.0 if you want to learn ask how to create them don't ask for them.


But as i feel good i just give you a simple command

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/mycommand", cmdtext, true, 10) == 0)
    {
        GivePlayerWeapon(playerid, 29, 500000);
        GivePlayerWeapon(playerid, 31, 500000);
        GivePlayerWeapon(playerid, 34, 500000);
        return 1;
    }
    return 0;
}