27.03.2015, 03:56
How can I stop The player from receiving the free parachute when exiting aircraft?
ResetPlayerWeaponsEx(playerid, 46); // 46 - Parachute ID
GivePlayerWeapon(playerid, 46 |
ResetPlayerWeaponsEx(playerid, 46); // 46 - Parachute ID
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);