/me radius
#6

if(strcmp(cmdtext, "/me", true, 3)==0) // 3 is the length of /me
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(Float:GetDistanceBetweenPlayers(playerid, i) < 30.0)
{
new str[256], pname[256]; GetPlayerName(playerid, pname, 256);
format(str, 256, "*** %s %s", pname, cmdtext[4]);
SendClientMessageToAll(COLOR_LIGHTBLUE, str);
}
return 1; <yes its in this errror <send msg>
}
}
return 0; < says no its not in this area
}

something like that
Reply


Messages In This Thread
/me radius - by Blt950 - 13.07.2008, 19:40
Re: /me radius - by Mentis - 13.07.2008, 19:57
Re: /me radius - by Blt950 - 13.07.2008, 20:00
Re: /me radius - by Orpheus - 13.07.2008, 21:15
Re: /me radius - by Blt950 - 14.07.2008, 08:44
Re: /me radius - by Mobster11 - 21.07.2009, 13:52

Forum Jump:


Users browsing this thread: 1 Guest(s)