SA-MP Forums Archive
Who has this in his Signature???? - 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: Who has this in his Signature???? (/showthread.php?tid=71317)



Who has this in his Signature???? - Oxside - 31.03.2009

Hello!

Somebody has in his Signature an code with something like this:
it
if....."plz"=find
{
sendmessagetoall(playerid,"Does anyone know where to get english lessons?");
}
return 1;

Please help i need this!
If anyone has an lol/funny code in his Signature: post


Re: Who has this in his Signature???? - MenaceX^ - 31.03.2009

...

Code it yourself ><
Mikep had it, though he doesn't have it no long.


Re: Who has this in his Signature???? - ICECOLDKILLAK8 - 31.03.2009

Add this under OnPlayerText
pawn Код:
if(strfind(text, "plz"))
{
  SendPlayerMessageToAll(playerid, "Does anyone know where to get English lessons?");
}



Re: Who has this in his Signature???? - MenaceX^ - 31.03.2009

Quote:
Originally Posted by JeNkStAX
Add this under OnPlayerText
pawn Код:
if(strfind(text, "plz"))
{
  SendPlayerMessageToAll(playerid, "Does anyone know where to get English lessons?");
}
Actually it won't work. You should return it or else it does the message to all + it says the text.


Re: Who has this in his Signature???? - Oxside - 31.03.2009

Quote:
Originally Posted by JeNkStAX
Add this under OnPlayerText
pawn Код:
if(strfind(text, "plz"))
{
  SendPlayerMessageToAll(playerid, "Does anyone know where to get English lessons?");
}
That i was searching!

Quote:
Originally Posted by MenaceX^
Code it yourself ><
I tryed but it doesn't worked so i asked it here!



Re: Who has this in his Signature???? - Norn - 31.03.2009

It's in mikep's signature.


Re: Who has this in his Signature???? - ICECOLDKILLAK8 - 31.03.2009

Quote:
Originally Posted by MenaceX^
Quote:
Originally Posted by JeNkStAX
Add this under OnPlayerText
pawn Код:
if(strfind(text, "plz"))
{
  SendPlayerMessageToAll(playerid, "Does anyone know where to get English lessons?");
}
Actually it won't work. You should return it or else it does the message to all + it says the text.
It will still work, Just because they use plz it dont mean thier whole message should be discarded

Quote:
Originally Posted by Norn
It's in mikep's signature.
He took it out for some reason


Re: Who has this in his Signature???? - MenaceX^ - 31.03.2009

Quote:
Originally Posted by Norn
It's in mikep's signature.
I already said that..

Btw, if you want it to work aswell (you say plz and it won't be shown on the chat, only the message)
pawn Код:
if(strfind(text, "plz"))
{
  SendPlayerMessageToAll(playerid, "Does anyone know where to get English lessons?");
  return false; // We return it with false, so 'plz' won't be shown.
}



Re: Who has this in his Signature???? - Pyrokid - 31.03.2009

Quote:
Originally Posted by MenaceX^
Quote:
Originally Posted by Norn
It's in mikep's signature.
I already said that..

Btw, if you want it to work aswell (you say plz and it won't be shown on the chat, only the message)
pawn Код:
if(strfind(text, "plz"))
{
  SendPlayerMessageToAll(playerid, "Does anyone know where to get English lessons?");
  return false; // We return it with false, so 'plz' won't be shown.
}
That will frustrate many players who aren't so smart. They'd probably say "Why does it keep asking me for English lessons!?"


Re: Who has this in his Signature???? - Oxside - 31.03.2009

I know but im going to use it as a little anti shout system