SA-MP Forums Archive
Help PLS - 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: Help PLS (/showthread.php?tid=124924)



Help PLS - M1K1 - 01.02.2010

Hello!
Somebody would relate it how it is necessary to do a command like that how than the /me command but 3Dtext puts onto the player
for example: /me hello!
And will be seen on the player then that hello

THX

and Sorry for my bad english


Re: Help PLS - LuxurioN™ - 01.02.2010

Basic Exemple for you (Not Tested):

pawn Код:
if (strcmp(cmd, "/me", true)==0)
{
new tmp[128], string[128];
strmid(tmp,cmdtext,3,strlen(cmdtext));
if(!strlen(tmp))
return SendClientMessage(playerid,COLOR, "SERVER: /me [Text]");

format(string, sizeof(string), "%s",tmp);
SetPlayerChatBubble(playerid, string, Color, DrawDistance, ExpireTime);
return 1;
}
I recommend to you read: SetPlayerChatBubble on SA-MP Wiki


Re: Help PLS - M1K1 - 01.02.2010

Not reaction
And
I Create3DTextLabel I would like it I would like to do it