[FilterScript] Weapon Holdster script [0.3c]
#9

Ej Matheuzino. It's almost good. But you need also to set the strings. Sorry man I forgot that all to say. Whatever in my real life I've got a job. I'm busy with that. I'll TRY to make a mini gamemode with examples. But er, here's an example of a better command :P

pawn Code:
if(!strcmp(cmdtext, "/guns", true))
{
    ResetPlayerWeapons(playerid);
    pWepHolster[playerid][pThrowW] = 16;
    pWepHolster[playerid][pMeleeW] = 24;
    pWepHolster[playerid][pBigW] = 31;
    pWepHolster[playerid][pThrowA] = 4;
    pWepHolster[playerid][pMeleeA] = 350;
    pWepHolster[playerid][pBigA] = 1500;
    GivePlayerWeapon(playerid, 16, 4);
    GivePlayerWeapon(playerid, 24, 350);
    GivePlayerWeapon(playerid, 31, 1500);
    SetPlayerArmedWeapon(playerid);
    return 1;
}
And now listen up. After using that command (if you've added it), you have to do this: You have to loop through all your weapons. You have 'unarmed' (fists). Then press 'NEXT WEAPON' button. Repeat this untill you have unarmed again. You'll have the weapons on your body

And I think now. Maybe it's automatic too, with this command . Just try it out (I don't have much time 'cuz of my real-life job and the accu of my notebook is almost empty :P)

- Kevin

p.s.
Sunday, I'll make a mini gamemode, so you can use this script on a WORKING way, with extra functions!
Thanks for waiting, in advance.
Reply


Messages In This Thread
Weapon Holdster script [0.3c] - by Kwarde - 10.12.2010, 11:03
Re: Weapon Holdster script [0.3c] - by Leeroy. - 10.12.2010, 11:13
Re: Weapon Holdster script [0.3c] - by matheuzinho - 10.12.2010, 13:22
Re: Weapon Holdster script [0.3c] - by Kwarde - 10.12.2010, 14:35
Re: Weapon Holdster script [0.3c] - by Derksen123 - 10.12.2010, 15:11
Re: Weapon Holdster script [0.3c] - by matheuzinho - 10.12.2010, 15:47
Re: Weapon Holdster script [0.3c] - by Gavibro - 10.12.2010, 15:56
Re: Weapon Holdster script [0.3c] - by matheuzinho - 10.12.2010, 16:03
Re: Weapon Holdster script [0.3c] - by Kwarde - 10.12.2010, 16:09
Re: Weapon Holdster script [0.3c] - by Tama - 25.01.2011, 11:24

Forum Jump:


Users browsing this thread: 1 Guest(s)