Businesses
#1

Code:
	if(dialogid == DIALOG_HOTELLV)
    {
    	if(response) // If they clicked 'Yes' or pressed enter
		{
 	  
       		new str[50];
        	if(GetPlayerMoney(playerid) < 100000000) return SCM(playerid,-1,"[ ! ] 100 000 000$ !");
        	GivePlayerMoney(playerid, -100000000);
        	if(Businesses[playerid] == 1) return SendClientMessage(playerid, 0xFFFFFFF, "ok"); 
			Businesses[playerid]= 1;
        	format(str,50,"Firma : Big Hotel Las Venturas\n Capitan %s\n",Nick(playerid));
			Update3DTextLabelText(MyLabel, 0xFFFFFFFF, str);
  			ShowPlayerDialog(playerid,DIALOG_HOTELLV2,DIALOG_STYLE_LIST,"Businesses Hotel","test1\ntest2\ntest3","ok","Close");
			}
			else // Pressed ESC or clicked cancel
        	{
        	    SetTimer("Test",15000,true);
  			}
		}
How do I make it so that no one could buy if you belong to the city and could only rob the
when it comes mcot manimulovat owner will come when another player will be able to just rob
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)