27.02.2014, 05:36
When a person pickup the pickup it disappears
What can I do to Make it doesn't disappear?
What can I do to Make it doesn't disappear?
Originally Posted by Wiki
1Exists always. Disables pickup scripts such as horseshoes and oysters to allow for scripted actions ONLY.
|
RP = CreatePickup(1239,2,-148.4453,1110.0249,19.7500, -1); AP = CreatePickup(1239,2,-797.5327,1556.2026,27.1244, -1); EP = CreatePickup(1239,2,1146.6642,1976.5652,10.8203, -1); A2P = CreatePickup(1239,2,385.2281,2474.4160,16.5000, -1); MP = CreatePickup(1239,2,-252.4021,2603.1230,62.8582, -1);
if(pickupid == RP && GetPlayerTeam(playerid) != TEAM_Egypt) return SendClientMessage(playerid, 0xFF0000AA, "Only Egypt team can use this Pickup."); { if(pickupid == RP) ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Pickup", "Health - 5000$\nArmour - 6000$\n\nWeapons\nDeathmatch stadium", "Buy", "Cancel"); } if(pickupid == EP && GetPlayerTeam(playerid) != TEAM_Russia) return SendClientMessage(playerid, 0xFF0000AA, "Only Russia team can use this Pickup."); { if(pickupid == EP) ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Pickup", "Health - 5000$\nArmour - 6000$\n\nWeapons\nDeathmatch stadium", "Buy", "Cancel"); } if(pickupid == AP && GetPlayerTeam(playerid) != TEAM_Australia) return SendClientMessage(playerid, 0xFF0000AA, "Only Australian team can use this Pickup."); { if(pickupid == AP) ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Pickup", "Health - 5000$\nArmour - 6000$\n\nWeapons\nDeathmatch stadium", "Buy", "Cancel"); } if(pickupid == A2P && GetPlayerTeam(playerid) != TEAM_UK) return SendClientMessage(playerid, 0xFF0000AA, "Only UKn team can use this Pickup."); { if(pickupid == A2P) ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Pickup", "Health - 5000$\nArmour - 6000$\n\nWeapons\nDeathmatch stadium", "Buy", "Cancel"); } if(pickupid == MP && GetPlayerTeam(playerid) != TEAM_USA) return SendClientMessage(playerid, 0xFF0000AA, "Only USA team can use this Pickup."); { if(pickupid == MP) ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Pickup", "Health - 5000$\nArmour - 6000$\n\nWeapons\nDeathmatch stadium", "Buy", "Cancel"); }
RP = CreatePickup(1239,1,-148.4453,1110.0249,19.7500, -1); AP = CreatePickup(1239,1,-797.5327,1556.2026,27.1244, -1); EP = CreatePickup(1239,1,1146.6642,1976.5652,10.8203, -1); A2P = CreatePickup(1239,1,385.2281,2474.4160,16.5000, -1); MP = CreatePickup(1239,1,-252.4021,2603.1230,62.8582, -1); |