kad koristim neku komandu da izage nesto slicno kako /me vadi ...

2. Jun 2010.
1,108
pregleda
5
postova
mariomako
5
Underboss
2. Jun 2010.
zz, neznam kako da narpavim da kada upisem komandu primer /sms 1998 (poruku) na igraci koji su na 2-3 metra do mene da izage nesto slicno kako kad koristi igrac /me komandu
pomos i kazite mi gde da ubacim
zz
Alen_Sudec
4
Shot Caller
2. Jun 2010.
to koristis prox detector

format(string, sizeof(string), "* %s uzima Hamburger u ruke i jede ga.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);

eto ti primjer tu lijepo mozes promjenit ovo je kada jede hamburger xD  😎
mariomako
5
Underboss
2. Jun 2010.
Quote from June 2, 2010, 11:38 am:
to koristis prox detector

format(string, sizeof(string), "* %s uzima Hamburger u ruke i jede ga.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);

eto ti primjer tu lijepo mozes promjenit ovo je kada jede hamburger xD   😎

primer kako u ovu komandu da to dodadem?
//-------------------Kapija---------------------------

if(strcmp(cmd,"/Otvori",true)==0)
{
    if(PlayerInfo == 5||PlayerInfo == 5)
    {
MoveObject(Kapija, 1315.226074, -2046.534546, 59.982609,7.000);
SendClientMessage(playerid, COLOR_GREEN, "Otvarate vrata LCN Baze.");
}
else
{
SendClientMessage(playerid, COLOR_RED, "Nisi Clan organizacije LCN.");
}
return 1;
}
if(strcmp(cmd,"/Zatvori",true)==0)
{
    if(PlayerInfo == 5||PlayerInfo == 5)
    {
MoveObject(Kapija, 2100.958984, -2447.878662, 15.320267,7.000 );

SendClientMessage(playerid, COLOR_GREEN, "Zatvarate vrata LCN Baze.");
}
else
{
SendClientMessage(playerid, COLOR_GREEN, "Nisi Clan organizacije LCN.");
}
return 1;
}
Alen_Sudec
4
Shot Caller
2. Jun 2010.

//-------------------Kapija---------------------------
       
if(strcmp(cmd,"/Otvori",true)==0)
{
            new string
    if(PlayerInfo == 5||PlayerInfo == 5)
    {
MoveObject(Kapija, 1315.226074, -2046.534546, 59.982609,7.000);
SendClientMessage(playerid, COLOR_GREEN, "Otvarate vrata LCN Baze.");
                        format(string, sizeof(string), "* %s otvara kapiju LCN baze.", sendername);
                        ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
else
{
SendClientMessage(playerid, COLOR_RED, "Nisi Clan organizacije LCN.");
}
return 1;
}
if(strcmp(cmd,"/Zatvori",true)==0)
{
    if(PlayerInfo == 5||PlayerInfo == 5)
    {
MoveObject(Kapija, 2100.958984, -2447.878662, 15.320267,7.000 );

SendClientMessage(playerid, COLOR_GREEN, "Zatvarate vrata LCN Baze.");
                        format(string, sizeof(string), "* %s zatvara kapiju LCN baze.", sendername);
                        ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
else
{
SendClientMessage(playerid, COLOR_GREEN, "Nisi Clan organizacije LCN.");
}
return 1;
}

eto kopiraj to i dodo sam string gore jer to treba xD
mozda ces negdje dobiti warning loose indetation al to nema veze xD
mariomako
5
Underboss
3. Jun 2010.
Quote from June 2, 2010, 2:48 pm:

//-------------------Kapija---------------------------
       
if(strcmp(cmd,"/Otvori",true)==0)
{
            new string
    if(PlayerInfo == 5||PlayerInfo == 5)
    {
MoveObject(Kapija, 1315.226074, -2046.534546, 59.982609,7.000);
SendClientMessage(playerid, COLOR_GREEN, "Otvarate vrata LCN Baze.");
                        format(string, sizeof(string), "* %s otvara kapiju LCN baze.", sendername);
                        ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
else
{
SendClientMessage(playerid, COLOR_RED, "Nisi Clan organizacije LCN.");
}
return 1;
}
if(strcmp(cmd,"/Zatvori",true)==0)
{
    if(PlayerInfo == 5||PlayerInfo == 5)
    {
MoveObject(Kapija, 2100.958984, -2447.878662, 15.320267,7.000 );

SendClientMessage(playerid, COLOR_GREEN, "Zatvarate vrata LCN Baze.");
                        format(string, sizeof(string), "* %s zatvara kapiju LCN baze.", sendername);
                        ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
else
{
SendClientMessage(playerid, COLOR_GREEN, "Nisi Clan organizacije LCN.");
}
return 1;
}

eto kopiraj to i dodo sam string gore jer to treba xD
mozda ces negdje dobiti warning loose indetation al to nema veze xD

hvala mnogo MOZE LOCK

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha