Event on responding?
#2

PHP код:
case DIALOG_EVENTNAME:
    {
        if(
response)
        {
            new 
ename[50],string[100];
            if(
strcmp(ename,"%s",true))//check this
            
{
                
playerid adminevent[playerid];
                
eventteleports 1;
                
eventon 1;
                if(
eventamount == 1)
                {
                    
format(string,sizeof(string),"~b~ %s~w~ has started! price : ~g~$~w~10,000~n~~w~type ~r~ /yes~w~ to join!",ename);
                    
GameTextForAll(string,3000,5);
                }
                if(
eventamount == 2)
                {
                    
format(string,sizeof(string),"~b~ %s~w~ has started! price : ~g~$~w~100,000~n~~w~type ~r~ /yes~w~ to join!",ename);
                    
GameTextForAll(string,3000,5);
                }
                if(
eventamount == 3)
                {
                    
format(string,sizeof(string),"~b~ %s~w~ has started! price : ~g~$~w~500,000~n~~w~type ~r~ /yes~w~ to join!",ename);
                    
GameTextForAll(string,3000,5);
                }
                if(
eventamount == 1)
                {
                    
format(string,sizeof(string),"~b~ %s~w~ has started! price : ~g~$~w~1,000,000~n~~w~type ~r~ /yes~w~ to join!",ename);
                    
GameTextForAll(string,3000,5);
                }
           }
        } 
Reply


Messages In This Thread
Event on responding? - by vassilis - 01.02.2015, 20:35
Re: Event on responding? - by Matess - 01.02.2015, 20:57
Re: Event on responding? - by Vince - 01.02.2015, 20:57
Re: Event on responding? - by ExtremeReality - 01.02.2015, 21:01
Re: Event on responding? - by vassilis - 01.02.2015, 21:15
Re: Event on responding? - by Jefff - 01.02.2015, 22:25
Re: Event on responding? - by vassilis - 01.02.2015, 23:01
Re: Event on responding? - by Jefff - 01.02.2015, 23:08
Re: Event on responding? - by F1re - 01.02.2015, 23:37

Forum Jump:


Users browsing this thread: 2 Guest(s)