How to make string ?
#5

pawn Код:
new string[128];
new float:x, float:y, float:z;
GetPlayerPos(playerid, x, y, z);
new name[24];
GetPlayerName(playerid, name, 24);
format(string, sizeof(string),"%s Says: %s", name, text);
foreach(Player, i)
{
    if(IsPlayerInRangeOfPoint(i, 15, x, y, z)) SendClientMessage(i, 0x0000FF, string);
}
return 0;
Add on OnPlayerText
Reply


Messages In This Thread
How to make string ? - by [M.A]Angel[M.A] - 24.07.2012, 14:09
Re: How to make string ? - by milanosie - 24.07.2012, 14:14
Re: How to make string ? - by [M.A]Angel[M.A] - 24.07.2012, 14:17
Re: How to make string ? - by Akira297 - 24.07.2012, 14:18
Re: How to make string ? - by milanosie - 24.07.2012, 14:21
Re: How to make string ? - by [M.A]Angel[M.A] - 24.07.2012, 14:25
Re: How to make string ? - by milanosie - 24.07.2012, 14:33
Re: How to make string ? - by Kindred - 24.07.2012, 14:45
Re: How to make string ? - by [M.A]Angel[M.A] - 24.07.2012, 15:01
Re: How to make string ? - by Kindred - 24.07.2012, 15:11

Forum Jump:


Users browsing this thread: 1 Guest(s)