"Trebam nešto" - tema

Započeo Vasic, Jun 15, 2020, 09:33:02 PRE PODNE

prethodna tema - sledeća tema

0 članova i 7 gostiju pregledaju ovu temu.

Citat: PawnoUros poslato Avgust 09, 2020, 16:47:48 POSLE PODNE
samo mi dajte te cmd ili mi objasnite sta da radim ovde https://imgur.com/a/e27dmwc
Sine nemaš enume za PodešavanjaAuta
[pawn]#define Error(%0,%1)\
   SendClientMessage(%0, 0xf23224FF, "eror: "%1)[/pawn]

Mozete mi pomoci kako da napravim cmd /kreirajobjekat ili ti /kreirajkapiju
Probam iz drugih gm nece.
Kad sam sve one errore ukucao na gogle nije mi htelo izaci nesto mi izlazi sasvim drugo
Unapred hvala.
STANKOVIC


Citat: enko. poslato Avgust 11, 2020, 22:23:16 POSLE PODNE
Dal ima neko dinamcine teritorije sa normalnim zauzimanjem itd?
Objasni ljudima termin "normalno zauzimanje".


Citat: enko. poslato Avgust 11, 2020, 22:48:39 POSLE PODNE
Evo da se ispravim brate "Dal ima neko dinamcine teritorije sa zauzimanjem"
Sta su dinamicne teritorije sa zauzimanjem

Citat: PawnoUros poslato Avgust 11, 2020, 16:53:53 POSLE PODNE
Mozete mi pomoci kako da napravim cmd /kreirajobjekat ili ti /kreirajkapiju
Probam iz drugih gm nece.
Kad sam sve one errore ukucao na gogle nije mi htelo izaci nesto mi izlazi sasvim drugo
Unapred hvala.
https://wiki.sa-mp.com/wiki/CreateObject
https://github.com/samp-incognito/samp-streamer-plugin/wiki/Natives-(Objects)
https://wiki.sa-mp.com/wiki/EditObject
https://wiki.sa-mp.com/wiki/OnPlayerEditObject
https://github.com/samp-incognito/samp-streamer-plugin/wiki/Callbacks
https://wiki.sa-mp.com/wiki/Scripting_Basics

Za cuvanje mozes sta god znas da koristis.

Citat: enko. poslato Avgust 11, 2020, 22:23:16 POSLE PODNE
Dal ima neko dinamcine teritorije sa normalnim zauzimanjem itd?
Ima ih skoro svaki objavljeni mod u gamemodes potforumu.
Poslednja Izmena: Avgust 12, 2020, 01:55:09 PRE PODNE od XACK
Those parts of the system that you can hit with a hammer (not advised) are called hardware; those program instructions that you can only curse at are called software

Treba mi komanda napraviobjekat i obrisi objekat za dinamicno mapanje ig mod je za msql pa ako bi ikako moglo da se napravi bio bih zahvalan

Pozdrav znaci napravio sam komandu /uninvite koja bi trebala radit za online igrace i offline ima provjeru orgsati ako igrac ima manje od 50 sati nije ispunio ugovor i ide u jail ako ima vise normalno ga izbaci iz org bez jaila ali meni ne radi offline dio ne znam zasto kad izbacim dio za provjeru org sati onda radi inace ne radi evo koda..Ja bi da ko pogleda ko zna da mi odradi da radi offline i online

[pawn]
CMD:uninvite(playerid, params[])
{
    new porukamsg[164];
    new targetname[24], filestring[79], string[128];
   if(sscanf(params, "s[24]", targetname)) // Ako igrac nije upisao sve potrebne parametre, ispisuje mu tu poruku
   return SendClientMessage(playerid, COLOR_UPORABA, "KORISTENJE: /uninvite [Ime_Prezime]");
   format(filestring, sizeof(filestring), "/Korisnici/%s.ini", targetname);
    if(!IsRPname(targetname)) return SendClientMessage(playerid, COLOR_ERROR, "ERROR: Odabrani igrac nije pronaden u databazi servera.");
    if(!fexist(filestring)) return SendClientMessage(playerid, COLOR_ERROR, "ERROR: Odabrani igrac nije pronaden u databazi servera.");
   if(IsPlayerConnected(GetPlayerID(targetname)) && ulogiran[GetPlayerID(targetname)] == false) return SendClientMessage(playerid,COLOR_ERROR, "ERROR: Odabrani igrac nije online ili nije ulogiran u svoj korisnicki racun."), PlayerPlaySound(playerid,1055,0.0,0.0,0.0);
   if(IsPlayerConnected(GetPlayerID(targetname)))
    {
      if(PlayerInfo[GetPlayerID(targetname)][pOrgSati] < 50)
      {
         if(PlayerInfo[GetPlayerID(targetname)][pSpol] == 1) { PlayerInfo[GetPlayerID(targetname)][pSkin] = 299; SetPlayerSkinEx(GetPlayerID(targetname),PlayerInfo[GetPlayerID(targetname)][pSkin]); }
         if(PlayerInfo[GetPlayerID(targetname)][pSpol] == 2) { PlayerInfo[GetPlayerID(targetname)][pSkin] = 192; SetPlayerSkinEx(GetPlayerID(targetname),PlayerInfo[GetPlayerID(targetname)][pSkin]); }
         PlayerInfo[GetPlayerID(targetname)][pMember] = 0;
         PlayerInfo[GetPlayerID(targetname)][pRank] = 0;
         PlayerInfo[GetPlayerID(targetname)][pDostave] = 0;
         PlayerInfo[GetPlayerID(targetname)][pRobOrg] = 0;
         PlayerInfo[GetPlayerID(targetname)][pOrgSati] = 0;
         PlayerInfo[GetPlayerID(targetname)][pArea] = 1;
         PlayerInfo[GetPlayerID(targetname)][pAreaSati] = 1;
         PlayerInfo[GetPlayerID(targetname)][pAreaMinute] = 00;
         PlayerInfo[GetPlayerID(targetname)][pAreaSekunde] = 00;
         PlayerInfo[GetPlayerID(targetname)][pMetaLimit] = 0;
         RemovePlayerMapIcon(GetPlayerID(targetname), 51);
         RemovePlayerMapIcon(GetPlayerID(targetname), 19);
         RemovePlayerMapIcon(GetPlayerID(targetname), 58);
         Lociranje[GetPlayerID(targetname)] = 0;
         HitINFO[GetPlayerID(targetname)][hitHit] = 0;
         hitmanid[GetPlayerID(targetname)] = 9999;
         hatr[GetPlayerID(targetname)] = 0;
         KillTimer(loctajmer[GetPlayerID(targetname)]);
         SetPlayerHealth(GetPlayerID(targetname), 0);
         SavePlayer(GetPlayerID(targetname));
      }
      if(PlayerInfo[GetPlayerID(targetname)][pSpol] == 1) { PlayerInfo[GetPlayerID(targetname)][pSkin] = 299; SetPlayerSkinEx(GetPlayerID(targetname),PlayerInfo[GetPlayerID(targetname)][pSkin]); }
      if(PlayerInfo[GetPlayerID(targetname)][pSpol] == 2) { PlayerInfo[GetPlayerID(targetname)][pSkin] = 192; SetPlayerSkinEx(GetPlayerID(targetname),PlayerInfo[GetPlayerID(targetname)][pSkin]); }
      if(PlayerInfo[GetPlayerID(targetname)][pArea] == 0)   { PlayerInfo[GetPlayerID(targetname)][pGlavniSpawn] = 1; }
      RemovePlayerMapIcon(GetPlayerID(targetname), 51);
      RemovePlayerMapIcon(GetPlayerID(targetname), 19);
      RemovePlayerMapIcon(GetPlayerID(targetname), 58);
      Lociranje[GetPlayerID(targetname)] = 0;
      HitINFO[GetPlayerID(targetname)][hitHit] = 0;
      PlayerInfo[GetPlayerID(targetname)][pMetaLimit] = 0;
      hitmanid[GetPlayerID(targetname)] = 9999;
      hatr[GetPlayerID(targetname)] = 0;
      PlayerInfo[GetPlayerID(targetname)][pMember] = 0;
      PlayerInfo[GetPlayerID(targetname)][pRank] = 0;
      PlayerInfo[GetPlayerID(targetname)][pDostave] = 0;
      PlayerInfo[GetPlayerID(targetname)][pRobOrg] = 0;
      PlayerInfo[GetPlayerID(targetname)][pOrgSati] = 0;
      KillTimer(loctajmer[GetPlayerID(targetname)]);
      SavePlayer(GetPlayerID(targetname));
      format(string,sizeof(string),"INFO: Lider %s vas je izbacio iz organizacije - sad ste obicni civil.", GetName(playerid));
      SendClientMessage(GetPlayerID(targetname),COLOR_INFO,string);
      format(porukamsg, sizeof(porukamsg), "ORG INFO: Igrac %s je izbacen iz vase organizacije - zazelite mu srecu ako zasluzuje.",GetName(GetPlayerID(targetname)));
      SendRadioMessage(PlayerInfo[playerid][pMember], 0x69AE55FF, porukamsg);
   }
   else if(!IsPlayerConnected(GetPlayerID(targetname)))
   {
       //Ukoliko igrac nema ispunjen ugovor ide u areu
      if(PlayerInfo[GetPlayerID(targetname)][pOrgSati] < 50)
      {
         if(PlayerInfo[GetPlayerID(targetname)][pSpol] == 1) { skinspol = 299; }
         if(PlayerInfo[GetPlayerID(targetname)][pSpol] == 2) { skinspol = 192; }
         new INI:File = INI_Open(filestring);
         INI_SetTag(File, "data");
         INI_WriteInt(File, "Skin", skinspol);
         INI_WriteInt(File, "Member", 0);
         INI_WriteInt(File, "Rank", 0);
         INI_WriteInt(File, "Dostave", 0);
         INI_WriteInt(File, "RobOrg", 0);
         INI_WriteInt(File, "OrgSati", 0);
         INI_WriteInt(File, "MetaLimit", 0);
         INI_WriteInt(File, "Area", 1);
         INI_WriteInt(File, "AreaSati", 1);
         INI_WriteInt(File, "AreaMinute", 0);
         INI_WriteInt(File, "AreaSekunde", 0);
         INI_Close(File);
      }
      format(string, sizeof(string), "INFO: Izbacili ste igraca %s (offline) iz svoje organizacije - sada je obican civil.", targetname);
      SendClientMessage(playerid,COLOR_INFO,string);
      //Ukoliko igrac ima ispunjen org ugovor nejde u jail
      new skinspol;
       if(PlayerInfo[GetPlayerID(targetname)][pSpol] == 1) { skinspol = 299; }
      if(PlayerInfo[GetPlayerID(targetname)][pSpol] == 2) { skinspol = 192; }
      new INI:File = INI_Open(filestring);
      INI_SetTag(File, "data");
      INI_WriteInt(File, "Skin", skinspol);
      INI_WriteInt(File, "Member", 0);
      INI_WriteInt(File, "Rank", 0);
      INI_WriteInt(File, "Dostave", 0);
      INI_WriteInt(File, "RobOrg", 0);
      INI_WriteInt(File, "OrgSati", 0);
      INI_WriteInt(File, "MetaLimit", 0);
      INI_Close(File);
   }
   return 1;
}
[/pawn]

Treba mi nesto kao provjera samp verzije. Npr. kao sto ima SA da se koristi r3 +


Da li mi neko moze pomoci kako da napravim verziju za samp 0.3.7-R2 posto manji sam level prvi put skriptam inace ovo je od yugoslavie RP pa ne znam kako da postavim vecu verziju to jest 0.3.7-R2
STANKOVIC

Pozz momci, da li neko ima komandu slucajno za pumpe npr kad ukucam /napunipumpe da gorivo ode na svakoj pumpi na 10000L
LVG Mod inc

Cao, treba mi komanda /kreirajvozilo ili /napravivozilo

Citat: BaneMapp poslato Avgust 27, 2020, 02:36:42 PRE PODNE
Cao, treba mi komanda /kreirajvozilo ili /napravivozilo
Izvuci si iz ATH moda :)