13.03.2019, 20:15
PHP Code:
new Float:Pos[3], string[128];
GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);
format(string, sizeof(string), "%s [ %d ]: %s", Nome(playerid), playerid, text);
for(new i; i < MAX_PLAYERS; i++)
{
if(IsPlayerInRangeOfPoint(i, 10.0, Pos[0], Pos[1], Pos[2]))
{
SendClientMessage(i, -1, string);
}
}
PHP Code:
case 1 .. 2:
case 2 .. 3:
if(1 <= Profissao[playerid] <= 2)
PHP Code:
switch(Profissao[playerid])
{
case 0:
case 1:
}