Auto Parachute
#1

How can I stop The player from receiving the free parachute when exiting aircraft?
Reply
#2

You can try to remove it:

Код:
ResetPlayerWeaponsEx(playerid, 46); // 46 - Parachute ID
Reply
#3

Quote:

GivePlayerWeapon(playerid, 46

Search it in ur gm and remove it
Reply
#4

its in the san andreas game to automatically give the player A parachute
Reply
#5

Have you used this?

Код:
ResetPlayerWeaponsEx(playerid, 46); // 46 - Parachute ID
Reply
#6

no, does it remove only parachute?
Reply
#7

Yes .
Reply
#8

ok im going to try it
Reply
#9

no this removes all player weapons except ones specified, umm have to do a bit of work to get this to work with my anti cheat/ server side weapons
Reply
#10

Then use this:

Код:
stock RemoveWeaponFromSlot(playerid, iWeaponSlot) 
{
    new wps[13][2];
    for(new i = 0; i < 13; i++)
        GetPlayerWeaponData(playerid, i, wps[i][0], wps[i][1]);

    wps[iWeaponSlot][0] = 0;

    ResetPlayerGuns(playerid);

    for(new i = 0; i < 13; i++)
        GivePlayerGun(playerid, wps[i][0], wps[i][1]);

    return 1;
}

RemoveWeaponFromSlot(playerid, 11);
Reply
#11

http://forum.sa-mp.com/showpost.php?...39&postcount=9
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)