[CH]Ivan_Lukic

[CH]Ivan_Lukic

Shot Caller

Poslednja aktivnost

pre 14 godina

postova

180

Kreiranih tema

44

XP

390

Pridružio se

avg. 2010

Trenutna aktivnost

Izgleda da [CH]Ivan_Lukic trenutno ne radi ništa

Odgovorio na May 29, 2011
[POMOC] /B /sms
GTA San Andreas Multiplayer / Pitanja & Pomoć
koristim junk buster pa onda on napise da je zabtanjeno psovanje itd... bolje mi je ovako..
Odgovorio na May 29, 2011
[POMOC] /B /sms
GTA San Andreas Multiplayer / Pitanja & Pomoć
ok......hvala ti za ovo a jel znas mozda kako ono ubaciz u /b da nebude broj 1 neg *
Odgovorio na May 28, 2011
[POMOC] /B /sms
GTA San Andreas Multiplayer / Pitanja & Pomoć
Skripta koju koristim: GTA rp
Detaljan opis problema:
kako da ovo
new brojevi[] = { '1','2','3','4','5','6','7','8','9'};
for(new b = 0; b < sizeof brojevi; b++)
{
new tekst = strlen(text);
for(new i = 0; i {
if(text == brojevi)
text = '*' ;
}
}

stavim u /B chat...
e sad sms ocu kad neko posalje poruku da admin moze vidit tu poruku sto je igrac poslo drugom igraca
evo ovako sam radio ali takva ista poruku dode i igracu
	if(strcmp(cmd, "/txt", true) == 0 || strcmp(cmd, "/t", true) == 0 || strcmp(cmd, "/sms", true) == 0)
{
   if(IsPlayerConnected(playerid))
{
   if(gPlayerLogged == 0)
       {
           SendClientMessage(playerid, COLOR_GREY, "   Niste logirani!");
           return 1;
       }
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "Koristite: (/t)ext [text chat]");
return 1;
}
if(PlayerInfo == 0)
{
SendClientMessage(playerid, COLOR_GRAD2, "  Nemate mobilni telefon...");
return 1;
}
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s vadi mobilni telefon.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
new phonenumb = strval(tmp);
new length = strlen(cmdtext);
while ((idx < length) && (cmdtext <= ' '))
{
idx++;
}
new offset = idx;
new result;
while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
{
result[idx - offset] = cmdtext;
idx++;
}
result[idx - offset] = EOS;
if(!strlen(result))
{
SendClientMessage(playerid, COLOR_GRAD2, "Koristite: (/t)ext [text chat]");
return 1;
}
if(phonenumb == 555)
{
if ((strcmp("yes", result, true, strlen(result)) == 0) && (strlen(result) == strlen("yes")))
{
SendClientMessage(playerid, COLOR_WHITE, "Tekstualna poruka dostavljena.");
if (gTeam == 2 || gTeam == 1)
{
SendClientMessage(playerid, COLOR_YELLOW, "SMS: Nemamo pojma o cemu govorite, Posiljalac: MOLE (555)");
RingTone = 20;
return 1;
}
return 1;
}
else
{
SendClientMessage(playerid, COLOR_YELLOW, "SMS: Jednostavno odradicemo to, Posiljalac: MOLE (555)");
RingTone = 20;
return 1;
}
}
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(PlayerInfo == phonenumb && phonenumb != 0)
{
giveplayerid = i;
Mobile = giveplayerid;
if(IsPlayerConnected(giveplayerid))
{
   if(giveplayerid != INVALID_PLAYER_ID)
   {
       if(PhoneOnline > 0)
       {
           SendClientMessage(playerid, COLOR_GREY, "   Mobilni pretplatnik nije trenutno dostupan,molimo pokusajte kasnije!");
           return 1;
       }
format(string, sizeof(string), "SMS: %s, Posiljalac: %s (%d)", result,sendername,PlayerInfo);
GetPlayerName(giveplayerid, sendername, sizeof(sendername));
format(string, sizeof(string), "SMS-(Salje:%s | Poruka: %s | Prima: %s)", sendername, result,sendername);
                   SendAdminMessage(COLOR_RED,string);
RingTone =20;
SendClientMessage(playerid, COLOR_WHITE, "Tekstualna poruka dostavljena");
SendClientMessage(giveplayerid, COLOR_YELLOW, string);
SendClientMessage(playerid,  COLOR_YELLOW, string);
format(string, sizeof(string), "~r~$-%d", txtcost);
GameTextForPlayer(playerid, string, 5000, 1);
SafeGivePlayerMoney(playerid,-txtcost);
SBizzInfo += txtcost;
ExtortionSBiz(2, txtcost);
          PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
          Mobile = 255;
return 1;
}
}
}
}
}
SendClientMessage(playerid, COLOR_GRAD2, "  Poruka nije dostavljena...");
}
return 1;
}


EDIT: eo komanda /B
	if(strcmp(cmd, "/b", true) == 0)
{
   if(IsPlayerConnected(playerid))
   {
       if(gPlayerLogged == 0)
       {
           SendClientMessage(playerid, COLOR_GREY, "   Niste logirani !");
           return 1;
       }
GetPlayerName(playerid, sendername, sizeof(sendername));
new length = strlen(cmdtext);
while ((idx < length) && (cmdtext <= ' '))
{
idx++;
}
new offset = idx;
new result;
while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
{
result[idx - offset] = cmdtext;
idx++;
}
result[idx - offset] = EOS;
if(!strlen(result))
{
SendClientMessage(playerid, COLOR_GRAD2, "Koristite: /b [local ooc chat]");
return 1;
}
if(PlayerInfo == 1)
{
   format(string, sizeof(string), "Nepoznat: (( %s ))", result);
}
else
{
format(string, sizeof(string), "%s: (( %s ))", sendername, result);
}
ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
printf("%s", string);
}
return 1;
}

Dio skripte:
Neke slike/video za lakse dobivanje pomoci(neobavezno):
Odgovorio na May 28, 2011
[POMOC] VOzilo za odredenog igraca
GTA San Andreas Multiplayer / Pitanja & Pomoć
Quote from May 28, 2011, 7:32 am:
kopiras isti kod i promjenis ime


djabe dodajem 4 nova auta kad je moguce i ovako...
Odgovorio na May 28, 2011
[POMOC] VOzilo za odredenog igraca
GTA San Andreas Multiplayer / Pitanja & Pomoć
ma znam radio sam po tom tut ali me zanima kako da stavim 2 igraca da mogu vozit to jedno auto znaci samo njih dvoje..
Odgovorio na May 27, 2011
[Pomoc] kako da napravim komandu
GTA San Andreas Multiplayer / Pitanja & Pomoć
 	if(strcmp(cmdtext,"/broji",true) == 0)
{
new Float:X, Float:Y, Float:Z;
new pName;
if (auts == false)
{
if (PlayerInfo >= 4)
{
auts = true;
GetPlayerName(playerid, pName, 30);
format(string, 280, "Admin : %s je pokrenio brojac.", pName);
SendClientMessageToAll(COLOR_LIGHTGREEN, string);
for(new i; i < MAX_PLAYERS; i++)
{
  GameTextForPlayer(i, "~n~~n~~n~~n~~n~~n~~n~~w~:::: ~r~3 ~w~::::",1000,3);
  GetPlayerPos(i, X,Y,Z);
  }
  SetTimer("count2",1000,0);
  SetTimer("count1",2000,0);
  SetTimer("countgo",3000,0);
}
}
}


forward count2();
forward count1();
forward countgo();
public count2()
{
  new Float:X, Float:Y, Float:Z;
  for(new i; i < MAX_PLAYERS; i++) {
  GameTextForPlayer(i,"~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~g~-~y~ 2 ~g~-",1000,3);
  GetPlayerPos(i, X,Y,Z);
  }
}
public count1()
{
  new Float:X, Float:Y, Float:Z;
  for(new i; i < MAX_PLAYERS; i++) {
  GameTextForPlayer(i,"~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~g~-~y~ 1 ~g~-",1000,3);
  GetPlayerPos(i, X,Y,Z);
  }
}
public countgo()
{
  new Float:X, Float:Y, Float:Z;
  for(new i; i < MAX_PLAYERS; i++) {
  GetPlayerPos(i, X,Y,Z);
  GameTextForPlayer(i,"~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~g~-~y~]~g~-~g~START~g~-~y~]~g~-",1000,3);
  PlayerPlaySound(i,1057,X,Y,Z);
  }
}


Probaj ovako ovo je iz mog moda..
Odgovorio na May 27, 2011
[Pomoc] Radio sam sve po TuT-u
GTA San Andreas Multiplayer / Pitanja & Pomoć
ako vec koristis cyber zas neradis ovako...
if(strcmp(cmdtext,"/uro", true) == 0)
{
if(PlayerInfo == 11 || PlayerInfo == 11)//ovo sto je 11 stavi od id ur-a
{
if(PlayerToPoint(15.0, playerid,283.2922,-1543.4369,24.7436))
{
MoveDynamicObject(urkapija, 1807.84020996,-1349.35522461,18.00572586,5.000);
return 1;
  }
}
}

if(strcmp(cmdtext,"/urz", true) == 0)
{
if(PlayerInfo == 11 || PlayerInfo == 11)//ovdje isto kao i gore
{
if(PlayerToPoint(15.0, playerid,283.2922,-1543.4369,24.7436))
{
MoveDynamicObject(urkapija, 1807.84020996,-1349.35522461,18.00572586,5.000);
return 1;
  }
}
}
Odgovorio na May 26, 2011
[POMOC] VOzilo za odredenog igraca
GTA San Andreas Multiplayer / Pitanja & Pomoć
pa jesam ali obojicu onda izbacuje jer ovaj drugi igraca nije brian a ovaj brian nije drugi(ili bilo kako drugo ime ime je nevazno)
mene zanima kako mogu napravit da jedan auto mogu vozit samo dvoje...
Odgovorio na May 26, 2011
[POMOC] VOzilo za odredenog igraca
GTA San Andreas Multiplayer / Pitanja & Pomoć
stvarno😕
pa znam to dodam ime ali nece vozit onda nijedan od te dvojice...
Odgovorio na May 26, 2011
[POMOC] VOzilo za odredenog igraca
GTA San Andreas Multiplayer / Pitanja & Pomoć
Skripta koju koristim: gtarp
Detaljan opis problema: Stavio sam vozilo za jednog igraca a kako da stavim da mogu vozit 2 igraca jedno vozilo..
   if(newstate == PLAYER_STATE_DRIVER)
  {
  new PlayerName;
GetPlayerName(playerid, PlayerName, sizeof(PlayerName));
     new Vehicle = GetPlayerVehicleID(playerid);
     if(Vehicle == 260 || Vehicle == 261|| Vehicle ==  262|| Vehicle ==  263) // Pod AddStaticVehicle dodas auto i onda u igri odes do tog auta i kucas /oldcar i vidis ID i vamo ga upises
    {
        if(strcmp(PlayerName,"Brian_Conner",true)) // Tu samo promjenis ime osobe koja vozi to vozilo
        {
           RemovePlayerFromVehicle(playerid);
           SendClientMessage(playerid, COLOR_GRAD1, "Ovo vozilo mogu vozit samo Brian_Conner ");
        }
     }


ja sam probo ovako ali neide
   if(newstate == PLAYER_STATE_DRIVER)
  {
  new PlayerName;
GetPlayerName(playerid, PlayerName, sizeof(PlayerName));
     new Vehicle = GetPlayerVehicleID(playerid);
     if(Vehicle == 260 || Vehicle == 261|| Vehicle ==  262|| Vehicle ==  263) // Pod AddStaticVehicle dodas auto i onda u igri odes do tog auta i kucas /oldcar i vidis ID i vamo ga upises
    {
       if(strcmp((PlayerName,"Brian_Conner",true) || (PlayerName,"Drugi_Igrac",true)))
        {
           RemovePlayerFromVehicle(playerid);
           SendClientMessage(playerid, COLOR_GRAD1, "Ovo vozilo mogu vozit samo Brian_Conner i Drugi igrac");
        }
     }

  }


Dio skripte:
Neke slike/video za lakse dobivanje pomoci(neobavezno):
4

Novi Član

Nivo 4

Iskustvo 90 / 100 XP
Ukupno XP: 390 10 XP do sledećeg nivoa
8
Dostignuća
390
Ukupno XP
0
Trenutni Niz
0
Najduži Niz

Sva Dostignuća

8 / 20 otključano

Prikaži sve →
🎯
Početak
Početak
Napišite 10 postova na forumu
+25 XP
Aktivni Saradnik
Aktivni Saradnik
Napišite 50 postova na forumu
+50 XP
🏅
Klub Stotina
Klub Stotina
Napišite 100 postova na forumu
+100 XP
🏆
Legenda Foruma
Legenda Foruma
Napišite 500 postova na forumu
+250 XP
👥
Vođa Diskusija
Vođa Diskusija
Kreirajte 10 tema na forumu
+50 XP
🛡️
Uzoran Građanin
Uzoran Građanin
30 dana bez ikakvih upozorenja
+40 XP
🔰
Primerni Član
Primerni Član
90 dana bez ikakvih upozorenja
+100 XP
🚩
Čuvar Zajednice
Čuvar Zajednice
Pošaljite 5 korisnih prijava
+75 XP
📅
Nedeljni Ratnik
Nedeljni Ratnik
Prijavite se 7 dana zaredom
+35 XP
🔥
Posvećeni Fan
Posvećeni Fan
Prijavite se 30 dana zaredom
+150 XP
💬
Prvi Post
Prvi Post
Napišite svoj prvi post na forumu
+10 XP
📝
Pokretač Tema
Pokretač Tema
Kreirajte svoju prvu temu
+15 XP
❤️
Poštovalac
Poštovalac
Dajte svoj prvi lajk na post
+5 XP
👍
Prvo Priznanje
Prvo Priznanje
Primite svoj prvi lajk na post
+5 XP
👤
Identitet Otkriven
Identitet Otkriven
Popunite profil sa avatarom i biografijom
+20 XP

Nedavna XP Aktivnost

+100
Otključano: Primerni Član
pre 1 nedelju
Dostignuće
+40
Otključano: Uzoran Građanin
pre 1 nedelju
Dostignuće
+50
Otključano: Vođa Diskusija
pre 1 nedelju
Dostignuće
+100
Otključano: Klub Stotina
pre 1 nedelju
Dostignuće
+50
Otključano: Aktivni Saradnik
pre 1 nedelju
Dostignuće
+25
Otključano: Početak
pre 1 nedelju
Dostignuće
+15
Otključano: Pokretač Tema
pre 1 nedelju
Dostignuće
+10
Otključano: Prvi Post
pre 1 nedelju
Dostignuće