My TDM briefcase Disapears
#3

public OnPlayerPickUpPickup(playerid, pickupid)
{

if(pickupid == RP && GetPlayerTeam(playerid) != TEAM_SOVIET) return SendClientMessage(playerid, 0xFF0000AA, "You can't use other team briefcase.");
{
if(pickupid == RP) ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Briefcase", "Health - 5000$\nArmour - 5500$\n\nWeapons\nDeathmatch stadium\nRunnies Deathmatch", "Select", "Cancel");
}
if(pickupid == EP && GetPlayerTeam(playerid) != TEAM_EURASIA) return SendClientMessage(playerid, 0xFF0000AA, "You can't use other team briefcase.");
{
if(pickupid == EP) ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Briefcase", "Health - 5000$\nArmour - 5500$\n\nWeapons\nDeathmatch stadium\nRunnies Deathmatch", "Select", "Cancel");
}
if(pickupid == AP && GetPlayerTeam(playerid) != TEAM_ARAB) return SendClientMessage(playerid, 0xFF0000AA, "You can't use other team briefcase.");
{
if(pickupid == AP) ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Briefcase", "Health - 5000$\nArmour - 5500$\n\nWeapons\nDeathmatch stadium\nRunnies Deathmatch", "Select", "Cancel");
}
if(pickupid == A2P && GetPlayerTeam(playerid) != TEAM_AUS) return SendClientMessage(playerid, 0xFF0000AA, "You can't use other team briefcase.");
{
if(pickupid == A2P) ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Briefcase", "Health - 5000$\nArmour - 5500$\n\nWeapons\nDeathmatch stadium\nRunnies Deathmatch", "Select", "Cancel");
}
if(pickupid == MP && GetPlayerTeam(playerid) != TEAM_USA) return SendClientMessage(playerid, 0xFF0000AA, "You can't use other team briefcase.");
{
if(pickupid == MP) ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Briefcase", "Health - 5000$\nArmour - 5500$\n\nWeapons\nDeathmatch stadium\nRunnies Deathmatch", "Select", "Cancel");
}
{
}
if(pickupid == SL)
{
if(nuke_time >= 1)
{
new String[80];
format(String, sizeof(String), "Nuke is not ready for launch wait %d seconds.", nuke_time);
SendClientMessage(playerid, red, String);
return 1;
}
if(tCP[BIG]== gTeam[playerid])
{
ShowPlayerDialog(playerid, 991, DIALOG_STYLE_LIST, "Nuke Station (Area 51):", "Usa Base\nEurasia Base\nArabia Base\nSoviet Base\nAustrallia Base", "Launch", "Cancel");
} else SendClientMessage(playerid, RED, "Your team dosn't own Area 51.");
}

if(pickupid == anthraxpickup)
{
if(anthrax_time >= 1)
{
new String[70];
format(String, sizeof(String), "Anthrax is not ready for launch wait %d seconds.", anthrax_time);
SendClientMessage(playerid, red, String);
return 1;
}

if(tCP[EAR] == gTeam[playerid])
{
ShowPlayerDialog(playerid, 666, DIALOG_STYLE_MSGBOX, "Anthrax Station (Big Ear):", "Are you sure you want to launch anthrax.\nYou will be charged -400000 $", "Launch", "Cancel");
} else SendClientMessage(playerid, RED, "Your team dosn't own Big Ear.");
}
return 1;
}

as soon as you walk in them and click something to buy or walk in and click off it disapears how to make it static?
Reply


Messages In This Thread
My TDM briefcase Disapears - by ChunkyGaming26 - 25.08.2015, 00:29
Re: My TDM briefcase Disapears - by Mariciuc223 - 25.08.2015, 06:33
Re: My TDM briefcase Disapears - by ChunkyGaming26 - 25.08.2015, 11:43

Forum Jump:


Users browsing this thread: 1 Guest(s)