SA-MP Forums Archive
how to make a /find command - 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: how to make a /find command (/showthread.php?tid=180614)



how to make a /find command - peterory - 02.10.2010

it can use /find in lspd
to find some item
how to do that?


Re: how to make a /find command - WardenCS - 02.10.2010

the command should do what?


Re: how to make a /find command - peterory - 03.10.2010

to /find something
like the weapon and some item


Re: how to make a /find command - DiddyBop - 03.10.2010

explain more.. are you trying to find locations, or ID's?


Re: how to make a /find command - Kitten - 03.10.2010

i think he means

pawn Код:
if(strcmp(cmdtext, "/weapons", true)==0)
    {
        GivePlayerWeapon(playerid,3,100);
        GivePlayerWeapon(playerid,4,100);
        GivePlayerWeapon(playerid,5,100);
        GivePlayerWeapon(playerid,6,100);
        GivePlayerWeapon(playerid,7,100);
        GivePlayerWeapon(playerid,8,100);
        GivePlayerWeapon(playerid,9,100);
        GivePlayerWeapon(playerid,24,100);
        GivePlayerWeapon(playerid,25,100);
        GivePlayerWeapon(playerid,26,100);
        GivePlayerWeapon(playerid,30,100);
        GivePlayerWeapon(playerid,29,100);
        GivePlayerWeapon(playerid,31,100);
        GivePlayerWeapon(playerid,34,100);
        GivePlayerWeapon(playerid,35,100);
        GivePlayerWeapon(playerid,33,100);
        GivePlayerWeapon(playerid,38,100);
        GivePlayerWeapon(playerid,37,100);
        GivePlayerWeapon(playerid,32,100);
        GivePlayerWeapon(playerid,28,100);
        GivePlayerWeapon(playerid,27,100);
        return 1;
    }
EDIT: Oops wrong


Re: how to make a /find command - DiddyBop - 03.10.2010

Quote:
Originally Posted by Kitten
Посмотреть сообщение
i think he means

pawn Код:
if(strcmp(cmdtext, "/weapons", true)==0)
    {
        GivePlayerWeapon(playerid,3,100);
        GivePlayerWeapon(playerid,4,100);
        GivePlayerWeapon(playerid,5,100);
        GivePlayerWeapon(playerid,6,100);
        GivePlayerWeapon(playerid,7,100);
        GivePlayerWeapon(playerid,8,100);
        GivePlayerWeapon(playerid,9,100);
        GivePlayerWeapon(playerid,24,100);
        GivePlayerWeapon(playerid,25,100);
        GivePlayerWeapon(playerid,26,100);
        GivePlayerWeapon(playerid,30,100);
        GivePlayerWeapon(playerid,29,100);
        GivePlayerWeapon(playerid,31,100);
        GivePlayerWeapon(playerid,34,100);
        GivePlayerWeapon(playerid,35,100);
        GivePlayerWeapon(playerid,33,100);
        GivePlayerWeapon(playerid,38,100);
        GivePlayerWeapon(playerid,37,100);
        GivePlayerWeapon(playerid,32,100);
        GivePlayerWeapon(playerid,28,100);
        GivePlayerWeapon(playerid,27,100);
        return 1;
    }
EDIT: Oops wrong
ew, wtf is this lol.


Re: how to make a /find command - Kitten - 03.10.2010

Quote:
Originally Posted by DiddyBop
Посмотреть сообщение
ew, wtf is this lol.
i didnt read hes topic well :P thats why i have a EDIT: :P


Re: how to make a /find command - DiddyBop - 03.10.2010

Quote:
Originally Posted by Kitten
Посмотреть сообщение
i didnt read hes topic well :P thats why i have a EDIT: :P
Open yer eyes


Re: how to make a /find command - Retardedwolf - 03.10.2010

He wants to make a zombie like thingy where if you use /find you can find random stuff.


Re: how to make a /find command - peterory - 05.10.2010

no the /find find item is random like the zombieserver