/me - 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: /me (
/showthread.php?tid=133460)
/me -
Sal_Kings - 12.03.2010
Can someone give me a /me command, also I'm willing to pay 1 USD over paypal if anyone can make me a /beg [ID] [Amount] command.
Player 1 : /beg 3 5
player 2 : /acceptbeg
Then player 1 gets 5 dollars.
Re: /me -
Correlli - 12.03.2010
You can find the strcmp version
here. For other things, ask in the script request topic.
Re: /me -
Sal_Kings - 12.03.2010
They never reply in the script request topic, and this /me you gave me everyone see's it.

I asked for a /me where only people around you see it.
Re: /me -
aircombat - 12.03.2010
Код:
//------------------------------------------------------------------------------------------------------
if(!strcmp(cmdtext, "/me", true, 3))
{
if(!cmdtext[3])return SendClientMessage(playerid, 0xFF9900AA, "USAGE: /me [Text]");
new str[128];
GetPlayerName(playerid, str, sizeof(str));
format(str, sizeof(str), "* %s %s", str, cmdtext[4]);
SendClientMessageToAll(0xFFFF00AA, str);
return 1;
}
//------------------------------------------------------------------------------------------------------
Re: /me -
Correlli - 12.03.2010
You can easily change it to the one you like by using the IsPlayerInRangeOfPoint function with a loop for all players.
Re: /me -
Sal_Kings - 12.03.2010
Quote:
Originally Posted by Don Correlli
You can easily change it to the one you like by using the IsPlayerInRangeOfPoint function with a loop for all players.
|
What's that.
Re: /me -
aircombat - 12.03.2010
Quote:
Originally Posted by Sal_Kings
Quote:
Originally Posted by Don Correlli
You can easily change it to the one you like by using the IsPlayerInRangeOfPoint function with a loop for all players.
|
What's that.
|
dude he can't give u a whole code ,
http://wiki.sa-mp.com
Re: /me -
Correlli - 12.03.2010
I can, but i don't want to. If i'll keep giving him the whole code then he'll never learn how to script.
At least try to create something by yourself.
Re: /me -
aircombat - 12.03.2010
that what i meant don.