SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 09/12/2014, 10:31 PM   #1
RonnyCZ
Little Clucker
 
Join Date: Feb 2013
Posts: 38
Reputation: 0
Default Businesses

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
RonnyCZ is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Businesses FaZeRs Scripting Help 1 02/07/2014 09:21 AM
Those businesses... samtey Scripting Help 21 05/09/2011 03:49 PM
businesses SpiderWalk Help Archive 2 28/04/2011 11:15 AM
[FilterScript] Businesses!!! darkknight123 Filterscripts 2 25/01/2011 04:29 PM
HELP Businesses ZmaXy Help Archive 5 03/11/2010 01:21 PM


All times are GMT. The time now is 03:16 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.