SA-MP Forums Archive
===> Command help LOOOK HERE <====== - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: ===> Command help LOOOK HERE <====== (/showthread.php?tid=252355)



===> Command help LOOOK HERE <====== - boyan96 - 01.05.2011

Hello. i my server i have this command

PHP код:
if(strcmp(cmd"/destroycars"true) == 0)
    {
        if(
IsPlayerConnected(playerid))
        {
            if(
PlayerInfo[playerid][pAdmin] < 4)
            {
                
SendClientMessage(playeridCOLOR_GRAD1"   you are not authorized to use that command!");
                return 
1;
            }
            for(new 
0CreatedCari++)
            {
                
DestroyVehicle(CreatedCars[i]);
            }
            
CreatedCar 0;
            
SendClientMessage(playeridCOLOR_GREY"   Created Vehicles destroyed!");
        }
        return 
1;
    } 
its delete all cars spawned with /veh
but can someone make like this command but to delete all cars which are spawned by VIP users


Re: ===> Command help LOOOK HERE <====== - [JnA]DukeNukem - 01.05.2011

You might want to give us the command that VIP's use to create them ?


Re: ===> Command help LOOOK HERE <====== - boyan96 - 01.05.2011

here =====>>> http://pastebin.com/JK2WSh8u <<<<<========


Re: ===> Command help LOOOK HERE <====== - boyan96 - 01.05.2011

can you make it


Re: ===> Command help LOOOK HERE <====== - [JnA]DukeNukem - 01.05.2011

gimme , a sec... hot coffee


Re: ===> Command help LOOOK HERE <====== - [JnA]DukeNukem - 01.05.2011

are you using some filterscript or is that your own script?

(( If you are from former Yugoslavia, we could PM in native, it's easier))


Re: ===> Command help LOOOK HERE <====== - boyan96 - 01.05.2011

my own script


Re: ===> Command help LOOOK HERE <====== - boyan96 - 01.05.2011

can you make it