Help about auto "/me" -
DouglasRamirez - 17.10.2013
Hello guys,
I have something here to ask - It's pretty simple or very simple for pro scripters but I don't know how ._.
Here, I want to make a command - example : /test - It will say like "/me tests something" or something like that. I hope you get me
Re: Help about auto "/me" -
Blademaster680 - 17.10.2013
Why would you want that... Then evan if you type /help then it will say /me help. Why dont you set /me as a keybind? then you wont have to type it
Re: Help about auto "/me" -
DouglasRamirez - 17.10.2013
That's why I posted this because I want to make that command, Another example if you still don't understand -
Example : When I type /dancethen the server will reply like (/me dances)
for more RP, because most of players doesn't know keybind
Re: Help about auto "/me" -
Blademaster680 - 17.10.2013
So then with the dance why dont you just make a command like /dance and then it does the dance anime?
Re: Help about auto "/me" -
DouglasRamirez - 17.10.2013
Dude, I want it please. It's my choice that's why I posted this - Why don't you just give me the codes? also I know there's an ANIMATION but I also want it automatically being describe ...
Re: Help about auto "/me" -
Konstantinos - 17.10.2013
pawn Код:
CMD:dancethen( playerid, params[ ] )
{
new
_str[ 32 ]
;
GetPlayerName( playerid, _str, MAX_PLAYER_NAME );
format( _str, sizeof( _str ), "%s dances", _str );
SendClientMessageToAll( -1, _str );
return 1;
}
Re: Help about auto "/me" -
DouglasRamirez - 17.10.2013
It's not right, It's different from RP /me's
It just shows white color not like on RP /me
Re: Help about auto "/me" -
PrivatioBoni - 17.10.2013
Quote:
Originally Posted by DouglasRamirez
It's not right, It's different from RP /me's
It just shows white color not like on RP /me
|
That is because he used white, if you want a different colour, then check here:
https://sampforum.blast.hk/showthread.php?tid=157789
And use a different colour.
Also, please note that the /me in the above code will be sent to ALL players, not just players in a close proximity.
Re: Help about auto "/me" -
DouglasRamirez - 18.10.2013
wtf all players ._.
How can I make it like in RP server /me's ?
Like near players will only see your /me
Re: Help about auto "/me" -
Smally - 18.10.2013
https://sampforum.blast.hk/showthread.php?tid=470093 - A tutorial of what you want.