I need this stock - 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: I need this stock (
/showthread.php?tid=98405)
I need this stock -
Takumi.WS - 20.09.2009
Hey all
Well as the tittle says, i need "stock strmatch"
Don't tell me search ... I already did, & found nothing
Thanks
Re: I need this stock -
Calgon - 20.09.2009
Use strcmp().
Re: I need this stock -
Takumi.WS - 20.09.2009
as i said, i need the strmatch stock, please if u have it post it here
Re: I need this stock -
Calgon - 20.09.2009
pawn Код:
stock strmatch(Float:Intelligence)
{
if(Intelligence < 1)
{
return "Maybe you should read my post.";
}
}
Re: I need this stock -
coole210 - 20.09.2009
pawn Код:
stock strmatch(const String1[], const String2[])
{
if ((strcmp(String1, String2, true, strlen(String2)) == 0) && (strlen(String2) == strlen(String1)))
{
return true;
}
else
{
return false;
}
}
just a lil' edit from what calgon said.
Re: I need this stock -
Takumi.WS - 20.09.2009
Quote:
Originally Posted by Calgon
pawn Код:
stock strmatch(Float:Intelligence) { if(Intelligence < 1) { return "Maybe you should read my post."; } }
|
How about "Gtfo from here if u don't have what i need ?"
Thx coole
Re: I need this stock -
_Vortex - 21.09.2009
Quote:
Originally Posted by Takumi[URP
]
Quote:
Originally Posted by Calgon
pawn Код:
stock strmatch(Float:Intelligence) { if(Intelligence < 1) { return "Maybe you should read my post."; } }
|
How about "Gtfo from here if u don't have what i need ?"
Thx coole
|
pawn Код:
stock strmatch(Float:Gtfo)
{
if(Gtfo = 1)
{
return "Gtfo from here if you don't have what I need.";
}
}
Hows that?
Re: I need this stock -
Calgon - 21.09.2009
Quote:
Originally Posted by Takumi[URP
]
Quote:
Originally Posted by Calgon
pawn Код:
stock strmatch(Float:Intelligence) { if(Intelligence < 1) { return "Maybe you should read my post."; } }
|
How about "Gtfo from here if u don't have what i need ?"
Thx coole
|
I told you a way around it, you're too ignorant to have read it. So no, you GTFO.
Re: I need this stock -
Hiitch - 21.09.2009
Calgon why dont you
if you just say use strcmp();
it isnt very helpful. as to coole, I needed it as well, so thanks.
Re: I need this stock -
_Vortex - 21.09.2009
Why doesn't this thread
Thanksbai.