Skripta koju koristim:balkancopsvsrobbers
Detaljan opis problema😛ostovanje pre sve posto sam nov na forum,
Imam 2 pitanja ako mozete da mi pomognete odnosno 2 problema.
Naime moj poblem je u tome sto sam poceo da radim mod medjutim sta se desava uradim ja to sto jednostavnije medjutim trebao bih da ubacim anticheat a ne znam kako probao sam svasta ali nece nikako znaci ako ima neko neki link sa uputstvom za "noobove" 😄
Druga stvar je u tome sto mi treba pomoc oko house sistema ja sam pratio stvari sa ovog foruma vezano za to i ja napravim sve medjutim nemogu da kupim kucu samo ulaz izlaz to mogu svi.
Dio skripte:
Neke slike/video za lakse dobivanje pomoci(neobavezno):
Zaključano
[Pomoc]male stvarcice
460
pregleda
15
postova
Ova tema je zaključana. Samo moderatori i administratori mogu odgovarati.
pre 10 godina
pre 10 godina
Resio sam kuce ubise me oci hvala ti na odgovoru.
Ma imam neki max securiti sam nasao mislim ovde ili mozda nije ovde nzm vise milioni informacija...
Problem je sto ja radim cops and robbers i bas mi lepo ide medjutim on izbacuje koga stigne za razne gluposti a bez anticita koji ce normalno da radi imacu problema imas li link od tog anticita da vidim kako ce se on uklopiti da ga malo ispodesavam.
Ma imam neki max securiti sam nasao mislim ovde ili mozda nije ovde nzm vise milioni informacija...
Problem je sto ja radim cops and robbers i bas mi lepo ide medjutim on izbacuje koga stigne za razne gluposti a bez anticita koji ce normalno da radi imacu problema imas li link od tog anticita da vidim kako ce se on uklopiti da ga malo ispodesavam.
pre 10 godina
uspeo sam da resim sad imam novi problem ako njega resim 😄 zavrsio sam
kada udjem u kucu koju sam na primer kupio /hm ili housemenu je komanda koja otvara taj meni izbacuje mi kao da moram da budem u kuci da bi to mogao da koristim.
inace nema ni jednu gresku mod i to ali jednostavno nece da radi /housemenu ima li neko nesto da posavetuje ako ne mozete odavde ovako recite mi koje delove skripte da vam kopiram pa stavim na pastebin
mod koji koristim:Licni Cops and Robbers 😢 😢 😢
evo dodao sam komandu da pogledate
kada udjem u kucu koju sam na primer kupio /hm ili housemenu je komanda koja otvara taj meni izbacuje mi kao da moram da budem u kuci da bi to mogao da koristim.
inace nema ni jednu gresku mod i to ali jednostavno nece da radi /housemenu ima li neko nesto da posavetuje ako ne mozete odavde ovako recite mi koje delove skripte da vam kopiram pa stavim na pastebin
mod koji koristim:Licni Cops and Robbers 😢 😢 😢
CMD:housemenu(playerid, params[])
{
if(GetPVarInt(playerid, "IsInHouse") == 0) return SendClientMessage(playerid, RED, "You need to be in a house to use this command.");
if(strcmp(GetHouseOwner(GetPVarInt(playerid, "LastHouseCP")), GetName(playerid), false)) return SendClientMessage(playerid, RED, "You dont own this house.");
{
ShowPlayerDialog(playerid, HOUSE_MENU, DIALOG_STYLE_LIST, "{FFFFFF}House Menu - Main Menu", "{FFFFFF}Set House Name\nGive/Take House Keys\nSell House", "Select", "Cancel");
}
return true;
}evo dodao sam komandu da pogledate
pre 10 godina
Imam da dodam i to da sam shvatio da radi ali sa odredjenim bugom naime kada udjem u kucu i brzo stisnem s da se okrene ka vratima radi housmenu ako to ne uradim nece ☹️
sta moze da bude problem
sta moze da bude problem
pre 10 godina
evo prepravljam daj pomozi ako znas 😄
Da dodam da imam jos jedan problemcic
vezan za boombox hocu da dodam vecini nas omiljeni hitfm radio kao stream url nadjem ga ja preko google chroma
medjutim stream ne cita ga probao i bez kose crte /hit nece meni treba sa ip sad kako da doznam ip pa da mu dodam :8000
da bi mogao da radi
Da dodam da imam jos jedan problemcic
vezan za boombox hocu da dodam vecini nas omiljeni hitfm radio kao stream url nadjem ga ja preko google chroma
http://streaming.hitfm.rs:8000/hitmedjutim stream ne cita ga probao i bez kose crte /hit nece meni treba sa ip sad kako da doznam ip pa da mu dodam :8000
da bi mogao da radi
pre 10 godina
// PLEASE DONT REMOVE CREDITS PLEASE DONT REMOVE CREDITS PLEASE DONT REMOVE CREDITS
//==============================================================================//
//============================== BOOMBOX SYSTEM ================================//
//============================= By scripter Djuke ( ============================//
//========================= if u want to script for u ==========================//
//===================== contact Djuke on forum.sa-mp.com =======================//
//================= or contact gruja.smoke on balkan-samp.com ==================//
//==============================================================================//
// DONT REMOVE CREDIT DONT REMOVE CREDITS DONT REMOVE CREDITS DONT REMOVE CREDITS
#include < a_samp >
#include < YSI\y_commands >
#include < foreach >
#include < streamer >
#include < sscanf2 >
//==============================================================================
#define ORANGE "{FF8000}"
#define WHITE "{FFFFFF}"
//==============================================================================
new Boombox;
new Text3D:BoomboxLabel;
new BoomboxObject;
new BoomboxStream;
new BoomboxPlayer;
new BoomboxURL;
new Float:bpos;
//==============================================================================
//==============================================================================
//==============================================================================
YCMD:boombox(playerid, params[],help)
{
#pragma unused help
#pragma unused params
new string;
if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER) return SendClientMessage(playerid,-1,ORANGE"* "WHITE"You cant use this command as driver!");
if(!Boombox)
{
foreach(Player, i)
{
if(Boombox)
{
if(IsPlayerInRangeOfPoint(playerid, 30, bpos, bpos, bpos))
{
SendClientMessage(playerid,-1,ORANGE"* "WHITE"Boombox is droped near You , find it and join the party!");
return 1;
}
}
}
ShowPlayerDialog(playerid, 1346, DIALOG_STYLE_LIST,"Boombox","HITFM Radio\nRadio Folk\nRadio TDI\nJuzni Vetar Radio\nBalkan DJ Radio","Odaberi","Odustani");
}
else
{
if(!IsPlayerInRangeOfPoint(playerid, 4.0, bpos,bpos,bpos)) return SendClientMessage(playerid,-1,ORANGE"* "WHITE"You are away from your boombox!");
Boombox = 0;
SendClientMessage(playerid,-1,ORANGE"* "WHITE"You are remove your boombox!");
DestroyDynamicObject(BoomboxObject);
DestroyDynamic3DTextLabel(BoomboxLabel);
format(string, sizeof(string), "%s remove his boombox.", GetName(playerid));
format(BoomboxURL, 256, "");
foreach(Player, i)
{
if(BoomboxPlayer == playerid)
{
BoomboxStream = 0;
BoomboxPlayer = -1;
StopAudioStreamForPlayer(i);
}
}
}
return 1;
}
//==============================================================================
//==============================================================================
public OnPlayerUpdate(playerid)
{
if(!BoomboxStream)
{
foreach(Player, i)
{
if(Boombox)
{
if(IsPlayerInRangeOfPoint(playerid, 30, bpos, bpos, bpos))
{
PlayAudioStreamForPlayer(playerid, BoomboxURL, bpos, bpos, bpos, 30, 1);
BoomboxPlayer = i;
BoomboxStream = 1;
}
}
}
}
else
{
new i = BoomboxPlayer;
if(!IsPlayerInRangeOfPoint(playerid, 30, bpos, bpos, bpos))
{
BoomboxStream = 0;
BoomboxPlayer = -1;
StopAudioStreamForPlayer(playerid);
}
}
return 1;
}
//==============================================================================
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 1346 && response)
{
switch(listitem)
{
case 0:
{
new string, string1;
Boombox = 1;
SendClientMessage(playerid,-1,ORANGE"* "WHITE"Your Boombox is setted, you turn on HITFM Radio station!");
format(string, sizeof(string), "%s drop his boombox on the ground and turn on music.", GetName(playerid));
GetPlayerPos(playerid, bpos, bpos, bpos); bpos = bpos - 1;
GetPlayerFacingAngle(playerid, bpos); bpos = bpos +180;
BoomboxObject = CreateDynamicObject(2226, bpos, bpos+0.3, bpos, 0, 0, bpos); ////+0.2
format(string1, sizeof(string1), "- Boombox -\nOwner: {E09B23}%s", GetName(playerid));
BoomboxLabel = CreateDynamic3DTextLabel(string1, 0xFFFFFFAA, bpos, bpos+0.3, bpos+0.6, 5, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, -1, -1, -1, 10.0);
ApplyAnimation(playerid,"BOMBER","BOM_Plant",4.0,0,0,0,0,0);
ApplyAnimation(playerid,"BOMBER","BOM_Plant",4.0,0,0,0,0,0);
format(BoomboxURL, 256, "http://streaming.hitfm.rs:8000/hit");
PlayAudioStreamForPlayer(playerid, "http://streaming.hitfm.rs:8000/hit");
}
case 1:
{
new string, string1;
Boombox = 1;
SendClientMessage(playerid,-1,ORANGE"* "WHITE"Your Boombox is setted, you turn on Folk Radio station!");
format(string, sizeof(string), "%s drop his boombox on the ground and turn on music.", GetName(playerid));
GetPlayerPos(playerid, bpos, bpos, bpos); bpos = bpos - 1;
GetPlayerFacingAngle(playerid, bpos); bpos = bpos +180;
BoomboxObject = CreateDynamicObject(2226, bpos, bpos+0.3, bpos, 0, 0, bpos); ////+0.2
format(string1, sizeof(string1), "- Boombox -\nOwner: {E09B23}%s", GetName(playerid));
BoomboxLabel = CreateDynamic3DTextLabel(string1, 0xFFFFFFAA, bpos, bpos+0.3, bpos+0.6, 5, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, -1, -1, -1, 10.0);
ApplyAnimation(playerid,"BOMBER","BOM_Plant",4.0,0,0,0,0,0);
ApplyAnimation(playerid,"BOMBER","BOM_Plant",4.0,0,0,0,0,0);
format(BoomboxURL, 256, "http://89.205.127.244:8002");
PlayAudioStreamForPlayer(playerid, "http://89.205.127.244:8002");
}
case 2:
{
new string, string1;
Boombox = 1;
SendClientMessage(playerid,-1,ORANGE"* "WHITE"Your Boombox is setted, you turn on TDI Radio station!");
format(string, sizeof(string), "%s drop his boombox on the ground and turn on music.", GetName(playerid));
GetPlayerPos(playerid, bpos, bpos, bpos); bpos = bpos - 1;
GetPlayerFacingAngle(playerid, bpos); bpos = bpos +180;
BoomboxObject = CreateDynamicObject(2226, bpos, bpos+0.3, bpos, 0, 0, bpos); ////+0.2
format(string1, sizeof(string1), "- Boombox -\nOwner: {E09B23}%s", GetName(playerid));
BoomboxLabel = CreateDynamic3DTextLabel(string1, 0xFFFFFFAA, bpos, bpos+0.3, bpos+0.6, 5, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, -1, -1, -1, 10.0);
ApplyAnimation(playerid,"BOMBER","BOM_Plant",4.0,0,0,0,0,0);
ApplyAnimation(playerid,"BOMBER","BOM_Plant",4.0,0,0,0,0,0);
format(BoomboxURL, 256, "http://streaming.tdiradio.com:9000");
PlayAudioStreamForPlayer(playerid, "http://streaming.tdiradio.com:9000");
}
case 3:
{
new string, string1;
Boombox = 1;
SendClientMessage(playerid,-1,ORANGE"* "WHITE"Your Boombox is setted, you turn on Juzni Vetar Radio station!");
format(string, sizeof(string), "%s drop his boombox on the ground and turn on music.", GetName(playerid));
GetPlayerPos(playerid, bpos, bpos, bpos); bpos = bpos - 1;
GetPlayerFacingAngle(playerid, bpos); bpos = bpos +180;
BoomboxObject = CreateDynamicObject(2226, bpos, bpos+0.3, bpos, 0, 0, bpos); ////+0.2
format(string1, sizeof(string1), "- Boombox -\nOwner: {E09B23}%s", GetName(playerid));
BoomboxLabel = CreateDynamic3DTextLabel(string1, 0xFFFFFFAA, bpos, bpos+0.3, bpos+0.6, 5, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, -1, -1, -1, 10.0);
ApplyAnimation(playerid,"BOMBER","BOM_Plant",4.0,0,0,0,0,0);
ApplyAnimation(playerid,"BOMBER","BOM_Plant",4.0,0,0,0,0,0);
format(BoomboxURL, 256, "http://rtvmerak.com:8003");
PlayAudioStreamForPlayer(playerid, "http://rtvmerak.com:8003");
}
case 4:
{
new string, string1;
Boombox = 1;
SendClientMessage(playerid,-1,ORANGE"* "WHITE"Your Boombox is setted, you turn on Balkan DJ Radio station!");
format(string, sizeof(string), "%s drop his boombox on the ground and turn on music.", GetName(playerid));
GetPlayerPos(playerid, bpos, bpos, bpos); bpos = bpos - 1;
GetPlayerFacingAngle(playerid, bpos); bpos = bpos +180;
BoomboxObject = CreateDynamicObject(2226, bpos, bpos+0.3, bpos, 0, 0, bpos); ////+0.2
format(string1, sizeof(string1), "- Boombox -\nOwner: {E09B23}%s", GetName(playerid));
BoomboxLabel = CreateDynamic3DTextLabel(string1, 0xFFFFFFAA, bpos, bpos+0.3, bpos+0.6, 5, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, -1, -1, -1, 10.0);
ApplyAnimation(playerid,"BOMBER","BOM_Plant",4.0,0,0,0,0,0);
ApplyAnimation(playerid,"BOMBER","BOM_Plant",4.0,0,0,0,0,0);
format(BoomboxURL, 256, "http://balkan.dj.topstream.net:8070");
PlayAudioStreamForPlayer(playerid,"http://balkan.dj.topstream.net:8070");
}
}
}
return 1;
}
public OnPlayerConnect(playerid)
{
BoomBoxSetted(playerid);
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
BoomBoxRemoved(playerid);
return 1;
}
//==================================== boombox stocks ==========================
stock BoomBoxSetted(playerid)
{
Boombox = 0;
BoomboxPlayer = -1;
BoomboxStream = 0;
bpos = 0; bpos = 0; bpos = 0; bpos = 0;
format(BoomboxURL, 256, "");
if(IsValidDynamicObject(BoomboxObject)) DestroyDynamicObject(BoomboxObject);
DestroyDynamic3DTextLabel(BoomboxLabel);
return 1;
}
stock BoomBoxRemoved(playerid)
{
Boombox = 0;
BoomboxPlayer = -1;
BoomboxStream = 0;
bpos = 0; bpos = 0; bpos = 0; bpos = 0;
format(BoomboxURL, 256, "");
if(IsValidDynamicObject(BoomboxObject)) DestroyDynamicObject(BoomboxObject);
DestroyDynamic3DTextLabel(BoomboxLabel);
foreach(Player, i)
{
if(BoomboxPlayer == playerid)
{
BoomboxStream = 0;
BoomboxPlayer = -1;
StopAudioStreamForPlayer(i);
}
}
return 1;
}
stock GetName(playerid)
{
new name;
GetPlayerName(playerid, name, sizeof(name));
return name;
}
//======================== end of boombox stocks ===============================
//======================= end of the filterscript ==============================
//======== PLEASE DONT REMOVE CREDITS PLEASE DONT REMOVE CREDITS ===============
//======== PLEASE DONT REMOVE CREDTIS PLEASE DONT REMOVE CREDITS ===============
//============================== BY DJUKE ======================================
preko ove fileskripte boombox neke stanice rade neke koje ne ja hteo da stavim domacu hit fm ali nmg naci stream ip sa portom
pre 10 godina
Rade 3 od pet cini mi se meni treba da nadjem ip port znam od radija ondnosno stream mi treba direktno sto ide..
pre 10 godina
Vidi Tu gde pise Radio Hit Fm pa dole pise url strima itd....
Taj link strima nije u funkciji ne radi kada se pusti na serveru.
Treba ga zameniti a ne znam kako da dodjem do strima hit fm radia nasao sam kao sto sam rekao u prethodnom postu
Znaci konkretno kako pronaci link koji radi sa ovu radio stanicu da bi mogao da ga iskoristim
Taj link strima nije u funkciji ne radi kada se pusti na serveru.
Treba ga zameniti a ne znam kako da dodjem do strima hit fm radia nasao sam kao sto sam rekao u prethodnom postu
Znaci konkretno kako pronaci link koji radi sa ovu radio stanicu da bi mogao da ga iskoristim
Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava