[Pomoc] Pojas

Započeo LoOdaK
16. Feb. 2014. Zaključano
417
pregleda
12
postova
Boki Boki
6
OG Legend
16. Feb. 2014.
Skripta koju koristim:UB:RP tj edit SS:RP
Detaljan opis problema😛a nez kako napraviti pojas sistem
Dio skripte://
Neke slike/video za lakse dobivanje pomoci(neobavezno)://
denis_lapi
5
Godfather
16. Feb. 2014.
Tako sto ces procitati pravila! I usput o attackobjecttoplayer
Blaeks_Biofor
5
Forum Don
16. Feb. 2014.
denis_lapi wrote on February 16, 2014, 1:48 pm:
Tako sto ces procitati pravila! I usput o attackobjecttoplayer
a ti si moderator da mu to kazes ? i sta lupas molim te o AttachObejctToPlayer funkciji?

jednostavno napravis 2 komande autore, jednom stavljas pojas, drugom skidas
Boki Boki
6
OG Legend
16. Feb. 2014.
Pa sve bi ja napravio da znam.Zato sam postavio ovde da mi pokazete
Blaeks_Biofor
5
Forum Don
Boki Boki
6
OG Legend
16. Feb. 2014.
Dobro samo jos jedno pitanje kako cu definirati ProxDetector
Blaeks_Biofor
5
Forum Don
16. Feb. 2014.
stock ProxDetector(Float:radi, playerid, string[],col1,col2,col3,col4,col5)
{
if(IsPlayerConnected(playerid))
{
new Float:posx, Float:posy, Float:posz;
new Float:oldposx, Float:oldposy, Float:oldposz;
new Float:tempposx, Float:tempposy, Float:tempposz;
GetPlayerPos(playerid, oldposx, oldposy, oldposz);
//radi = 2.0; //Trigger Radius
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i) && (GetPlayerVirtualWorld(playerid) == GetPlayerVirtualWorld(i)))
{
if(!BigEar)
{
GetPlayerPos(i, posx, posy, posz);
tempposx = (oldposx -posx);
tempposy = (oldposy -posy);
tempposz = (oldposz -posz);
//printf("DEBUG: X:%f Y:%f Z:%f",posx,posy,posz);
if (((tempposx < radi/16) && (tempposx > -radi/16)) && ((tempposy < radi/16) && (tempposy > -radi/16)) && ((tempposz < radi/16) && (tempposz > -radi/16)))
{
SendClientMessage(i, col1, string);
}
else if (((tempposx < radi/8) && (tempposx > -radi/8)) && ((tempposy < radi/8) && (tempposy > -radi/8)) && ((tempposz < radi/8) && (tempposz > -radi/8)))
{
SendClientMessage(i, col2, string);
}
else if (((tempposx < radi/4) && (tempposx > -radi/4)) && ((tempposy < radi/4) && (tempposy > -radi/4)) && ((tempposz < radi/4) && (tempposz > -radi/4)))
{
SendClientMessage(i, col3, string);
}
else if (((tempposx < radi/2) && (tempposx > -radi/2)) && ((tempposy < radi/2) && (tempposy > -radi/2)) && ((tempposz < radi/2) && (tempposz > -radi/2)))
{
SendClientMessage(i, col4, string);
}
else if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi)))
{
SendClientMessage(i, col5, string);
}
}
else
{
SendClientMessage(i, col1, string);
}
}
}
}//not connected
return 1;
}
Boki Boki
6
OG Legend
16. Feb. 2014.
Kako cu define sendername
Blaeks_Biofor
5
Forum Don
16. Feb. 2014.
new sendername;
?
Boki Boki
6
OG Legend
16. Feb. 2014.
Nece ne radi mi nesto ☹️
Blaeks_Biofor
5
Forum Don
16. Feb. 2014.
nesto nisi lepo prebacio ocigledno
Boki Boki
6
OG Legend
16. Feb. 2014.
Sredio sam priklopi

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha