Siren Problem
#1

i type /slon every thing is perfect.puts on the siren.i cant take it off..

PHP код:
if(strcmp(cmd"/slon"true) == 0)
                    {
                    new 
VID2 governcar[2];
                    if(
Siren[VID2] == false)//nooo
                    
{
                        
format(stringsizeof(string), "* %s a pus sirena pe masina."sendername);
                        
ProxDetector(30.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                        new 
govern2 CreateObject(18646,0,0,-1000,0,0,0,100);
                        
AttachObjectToVehicle(govern2,governcar[2],...........); //Object Model: 18646 |
                        
Siren[VID2] = true;
                    }
                    else if(
Siren[VID2] == true)
                    {
                        
format(stringsizeof(string), "* %s a dat jos sirena pe masina."sendername);
                        
ProxDetector(30.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                        
DestroyObject(govern2[VID2]); //old way,any errors?nope
                        
Siren[VID2] = false;
                    }
                    return 
1;
                    } 
Reply


Messages In This Thread
Siren Problem - by Akcent_Voltaj - 17.02.2013, 16:29
Re: Siren Problem - by lollie123 - 17.02.2013, 16:41
Re: Siren Problem - by Akcent_Voltaj - 17.02.2013, 16:42
Re: Siren Problem - by Akcent_Voltaj - 17.02.2013, 17:48
Re: Siren Problem - by IstuntmanI - 17.02.2013, 17:54
Re: Siren Problem - by Akcent_Voltaj - 17.02.2013, 18:00
Re: Siren Problem - by Akcent_Voltaj - 17.02.2013, 18:03
Re: Siren Problem - by Akcent_Voltaj - 18.02.2013, 11:21

Forum Jump:


Users browsing this thread: 3 Guest(s)