/me and a /do command
#5

For godsake learn using the search function.
Also check this first, before asking for a script: http://forum.sa-mp.com/showthread.ph...2&highlight=me.
And you can simply use IsPlayerInRangeOfPoint to check if he's in range. If he is, send the message, otherwise not.

EDIT:

@Grand Theft Otto:
LOL 265 string? Lol, max is even 128. Don't use too big arrays.
Example: "** %s %s".
That are 8 characters. The PlayerName can be max 24, so 8+24 = 32.
And let's say the action can be maximal 35 characters (strlen) .So 32+35 = 67.
You could just do "new string[67];" !

@The other guy (forgot name):
Don't just copy it -.- - He might not have the same variables etc.
Reply


Messages In This Thread
/me and a /do command - by davelord - 09.04.2011, 22:50
Re: /me and a /do command - by grand.Theft.Otto - 09.04.2011, 23:03
Re: /me and a /do command - by blazee14 - 12.04.2011, 05:49
Re: /me and a /do command - by Cameltoe - 12.04.2011, 07:29
Re: /me and a /do command - by Kwarde - 12.04.2011, 07:30
Re: /me and a /do command - by Voldemort - 12.04.2011, 07:34
Re: /me and a /do command - by Cameltoe - 12.04.2011, 07:55
Re: /me and a /do command - by davelord - 12.04.2011, 11:53
Re: /me and a /do command - by davelord - 15.04.2011, 11:58
Re: /me and a /do command - by davelord - 16.04.2011, 20:40

Forum Jump:


Users browsing this thread: 1 Guest(s)