Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new Float:x, Float:y, Float:z;
- GetPlayerPos(playerid, x, y, z);
- Loop(i)
- {
- if(IsPlayerInRangeOfPoint(i, 4, x, y, z))
- {
- if(strlen(text) > 3) text[0] = toupper(text[0]);
- ApplyAnimation(playerid, "PED", "IDLE_CHAT", 4.1, 0, 1, 1, 0, 2500, 1);
- format(Wiadomosc, sizeof(Wiadomosc), "%s %s mówi: %s",Gracz[playerid][Imie], Gracz[playerid][Nazwisko], text);
- SendClientMessageInRange(i, 4, Bialy, Wiadomosc);
- }
- else if(IsPlayerInRangeOfPoint(i, 8, x, y, z))
- {
- if(strlen(text) > 3) text[0] = toupper(text[0]);
- ApplyAnimation(playerid, "PED", "IDLE_CHAT", 4.1, 0, 1, 1, 0, 2500, 1);
- format(Wiadomosc, sizeof(Wiadomosc), "%s %s mówi: %s",Gracz[playerid][Imie], Gracz[playerid][Nazwisko], text);
- SendClientMessageInRange(playerid, 8, 0xAFABABFF, Wiadomosc);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement