SA-MP Forums Archive
Trying to remove the weapons from the VIP LOCKER - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Trying to remove the weapons from the VIP LOCKER (/showthread.php?tid=609855)



Trying to remove the weapons from the VIP LOCKER - Progamerisrael1 - 17.06.2016

How I can do it? thanks for helping

Код:
CMD:viplocker(playerid, params[])
{
	if(!IsPlayerInRangeOfPoint(playerid, 7.0, 2555.747314, 1404.106079, 7699.584472))
	{
		SendClientMessageEx(playerid, COLOR_GRAD2, "   You are not at the VIP Locker Room!");
		return 1;
	}
	if(PlayerInfo[playerid][pDonateRank] == 1)
	{
		ShowPlayerDialog(playerid, 7483, DIALOG_STYLE_LIST, "VIP Locker", "First Aid Kit (Free)\nKevlar Vest ($15000)\nWeapons\nClothes Corner\nJob Center\nVIP Color", "Select", "Cancel");
	}
	else if(PlayerInfo[playerid][pDonateRank] == 2)
	{
		ShowPlayerDialog(playerid, 7483, DIALOG_STYLE_LIST, "VIP Locker", "First Aid Kit (Free)\nKevlar Vest ($10000)\nWeapons\nClothes Corner\nJob Center\nVIP Color", "Select", "Cancel");
	}
	else if(PlayerInfo[playerid][pDonateRank] >= 3)
	{
		ShowPlayerDialog(playerid, 7483, DIALOG_STYLE_LIST, "VIP Locker", "First Aid Kit (Free)\nKevlar Vest (Free)\nWeapons\nClothes Corner\nJob Center\nVIP Color", "Select", "Cancel");
	}
	return 1;
}