[FS/MAP] Zatvor by McAfee

Započeo McAfee, Mart 12, 2011, 14:26:04 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Ovako... Ovaj zatvor sam pravio za svoj server. Ja ga licno koristim za stavljanje Igraca koji ne postuju RP pravila. Ima 8 komora i svaka komora sluzi za razne greske (pg,rk,sk,db,dm....). Znaci nije nista posebno par objekata i tako...  
Evo i slika:

http://i1102.photobucket.com/albums/g448/FilipV1/NewPicture.jpg
http://i1102.photobucket.com/albums/g448/FilipV1/NewPicture16.jpg
http://i1102.photobucket.com/albums/g448/FilipV1/NewPicture1.jpg

Nema mnogo objekata nisam hteo da pretrpavam server da sam pravio za nesto drugo verovatno bih stavio vise objekata

Objekti:

CreateDynamicObject(980, 1591.0283203125, -1265.4873046875, 279.65618896484, 0, 0, 0);
CreateDynamicObject(980, 1579.4971923828, -1265.4479980469, 279.65618896484, 0, 0, 0);
CreateDynamicObject(980, 1567.9768066406, -1265.4820556641, 279.65618896484, 0, 0, 0);
CreateDynamicObject(980, 1591.0274658203, -1219.3038330078, 279.65606689453, 0, 0, 0);
CreateDynamicObject(980, 1596.8134765625, -1225.10546875, 279.65298461914, 0, 0, 90);
CreateDynamicObject(980, 1596.7470703125, -1236.6171875, 279.64892578125, 0, 0, 90);
CreateDynamicObject(980, 1596.7138671875, -1248.1806640625, 279.65191650391, 0, 0, 90);
CreateDynamicObject(980, 1596.7685546875, -1259.6650390625, 279.65438842773, 0, 0, 90);
CreateDynamicObject(980, 1562.16796875, -1259.732421875, 279.65618896484, 0, 0, 90);
CreateDynamicObject(980, 1562.173828125, -1248.1708984375, 279.65167236328, 0, 0, 90);
CreateDynamicObject(980, 1562.1644287109, -1236.6663818359, 279.65322875977, 0, 0, 90);
CreateDynamicObject(980, 1562.1470947266, -1225.1787109375, 279.65328979492, 0, 0, 90);
CreateDynamicObject(980, 1579.4853515625, -1219.3441162109, 279.64895629883, 0, 0, 0);
CreateDynamicObject(980, 1567.94140625, -1219.4423828125, 279.65170288086, 0, 0, 0);
CreateDynamicObject(980, 1567.9542236328, -1230.9208984375, 279.65176391602, 0, 0, 0);
CreateDynamicObject(980, 1579.5107421875, -1230.912109375, 279.64862060547, 0, 0, 0);
CreateDynamicObject(980, 1591.0109863281, -1230.9593505859, 279.64749145508, 0, 0, 0);
CreateDynamicObject(980, 1567.9505615234, -1242.4270019531, 279.650390625, 0, 0, 0);
CreateDynamicObject(980, 1579.4794921875, -1242.4111328125, 279.65054321289, 0, 0, 0);
CreateDynamicObject(980, 1590.8814697266, -1242.3876953125, 279.65026855469, 0, 0, 0);
CreateDynamicObject(980, 1567.9547119141, -1253.9365234375, 279.65319824219, 0, 0, 0);
CreateDynamicObject(980, 1579.505859375, -1253.9370117188, 279.65313720703, 0, 0, 0);
CreateDynamicObject(980, 1591.0249023438, -1253.9390869141, 279.65301513672, 0, 0, 0);
CreateDynamicObject(980, 1579.6884765625, -1259.6513671875, 279.65454101563, 0, 0, 90);
CreateDynamicObject(980, 1579.6989746094, -1248.0969238281, 279.65161132813, 0, 0, 90);
CreateDynamicObject(980, 1579.6962890625, -1236.6376953125, 279.64886474609, 0, 0, 90);
CreateDynamicObject(980, 1579.6995849609, -1225.1158447266, 279.64895629883, 0, 0, 90);
CreateDynamicObject(1771, 1578.7819824219, -1255.8004150391, 277.51391601563, 0, 0, 0);
CreateDynamicObject(1771, 1580.5782470703, -1255.7852783203, 277.51391601563, 0, 0, 0);
CreateDynamicObject(1771, 1580.5830078125, -1252.2200927734, 277.51300048828, 0, 0, 0);
CreateDynamicObject(1771, 1578.7454833984, -1252.1818847656, 277.51300048828, 0, 0, 0);
CreateDynamicObject(1771, 1578.7232666016, -1240.4536132813, 277.51013183594, 0, 0, 0);
CreateDynamicObject(1771, 1580.5815429688, -1240.560546875, 277.51019287109, 0, 0, 0);
CreateDynamicObject(1771, 1578.8114013672, -1229.1040039063, 277.50942993164, 0, 0, 0);
CreateDynamicObject(1771, 1580.7056884766, -1229.1829833984, 277.50897216797, 0, 0, 0);
CreateDynamicObject(14480, 1583.0377197266, -1221.7215576172, 277.46917724609, 0, 0, 0);
CreateDynamicObject(14480, 1571.4866943359, -1221.7030029297, 277.47201538086, 0, 0, 0);
CreateDynamicObject(14480, 1584.8303222656, -1233.3154296875, 277.46920776367, 0, 0, 0);
CreateDynamicObject(14480, 1575.0417480469, -1233.3853759766, 277.47113037109, 0, 0, 0);
CreateDynamicObject(14480, 1570.6420898438, -1245.0300292969, 277.47204589844, 0, 0, 0);
CreateDynamicObject(14480, 1571.0548095703, -1256.1895751953, 277.47479248047, 0, 0, 0);
CreateDynamicObject(14480, 1588.2901611328, -1256.3288574219, 277.47482299805, 0, 0, 0);
CreateDynamicObject(14480, 1588.1207275391, -1244.6704101563, 277.4719543457, 0, 0, 0);
CreateDynamicObject(1720, 1583.1704101563, -1241.93359375, 276.87686157227, 0, 0, 183.99998474121);
CreateDynamicObject(1720, 1584.2351074219, -1253.4521484375, 276.87951660156, 0, 0, 183.9990234375);
CreateDynamicObject(1720, 1585.2425537109, -1264.8741455078, 276.88238525391, 0, 0, 183.9990234375);
CreateDynamicObject(1720, 1583.7994384766, -1230.3389892578, 276.8740234375, 0, 0, 183.9990234375);
CreateDynamicObject(1720, 1574.0728759766, -1230.3500976563, 276.87692260742, 0, 0, 183.9990234375);
CreateDynamicObject(1720, 1574.7850341797, -1241.8986816406, 276.87683105469, 0, 0, 183.9990234375);
CreateDynamicObject(1720, 1574.5831298828, -1253.4678955078, 276.87951660156, 0, 0, 183.9990234375);
CreateDynamicObject(1720, 1573.7086181641, -1264.9487304688, 276.8828125, 0, 0, 183.9990234375);


e sad ako zelite da nekoga ubacite u taj kavez/zatvor imate sledece komande koje trebate da ubacite u skriptu

ZA PG:
if(strcmp(cmd, "/kavezpg",true) == 0)
{
   if(IsPlayerConnected(playerid))
   {
       if(PlayerInfo[playerid][pAdmin] < 1)
       {
           SendClientMessage(playerid, COLOR_GREY, "   Niste ovlasteni za koristenje te komande !");
           return 1;
       }
       tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "Koriscenje: /kavezpg [ID Igraca/Dio Imena]");
return 1;
}
giveplayerid = ReturnUser(tmp);
   if(IsPlayerConnected(giveplayerid))
   {
       if(giveplayerid != INVALID_PLAYER_ID)
       {
           GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* Stavili ste %s-a u Kavez srama za PG.", giveplayer);
SendClientMessage(playerid, COLOR_LIGHTRED, string);
format(string, sizeof(string), "* Admin%s vas je stavio u Kavez srama zbog PG-a.", sendername);
SendClientMessage(giveplayerid, COLOR_LIGHTRED, string);
GameTextForPlayer(giveplayerid, "~w~Dobrodosli u ~n~~r~PG Kavez Srama", 5000, 3);
WantedPoints[giveplayerid] = 0;
WantedLevel[giveplayerid] = 0;
           SetPlayerPos(giveplayerid, 1566.5400,-1225.9865,277.8788);
SetPlayerInterior(giveplayerid,0);
PlayerInfo[giveplayerid][pInt] = 0;
format(string, 256, "AdmCmd: %s je zatvoren u kavez srama od Admina %s zbog PG-a.", giveplayer, sendername);
BroadCast(COLOR_LIGHTRED,string);
format(string, sizeof(string), "AdmCmd: %s je stavljen u PG kavez od Admina %s-a", giveplayer, sendername);
printf("%s",string);
       }
}
else
{
   SendClientMessage(playerid, COLOR_GREY, "   Igrac je offline !");
   return 1;
}
   }
   return 1;
}


ZA BH:
if(strcmp(cmd, "/kavezbh",true) == 0)
{
   if(IsPlayerConnected(playerid))
   {
       if(PlayerInfo[playerid][pAdmin] < 1)
       {
           SendClientMessage(playerid, COLOR_GREY, "   Niste ovlasteni za koristenje te komande !");
           return 1;
       }
       tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "Koriscenje: /kavezbh [ID Igraca/Dio Imena]");
return 1;
}
giveplayerid = ReturnUser(tmp);
   if(IsPlayerConnected(giveplayerid))
   {
       if(giveplayerid != INVALID_PLAYER_ID)
       {
           GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* Stavili ste %s-a u Kavez srama za BH.", giveplayer);
SendClientMessage(playerid, COLOR_LIGHTRED, string);
format(string, sizeof(string), "* Admin%s vas je stavio u Kavez srama zbog BH-a.", sendername);
SendClientMessage(giveplayerid, COLOR_LIGHTRED, string);
GameTextForPlayer(giveplayerid, "~w~Dobrodosli u ~n~~r~BH Kavez Srama", 5000, 3);
WantedPoints[giveplayerid] = 0;
WantedLevel[giveplayerid] = 0;
           SetPlayerPos(giveplayerid, 1588.8434,-1223.0146,277.8733);
SetPlayerInterior(giveplayerid,0);
PlayerInfo[giveplayerid][pInt] = 0;
format(string, 256, "AdmCmd: %s je zatvoren u kavez srama od Admina %s zbog BH-a.", giveplayer, sendername);
BroadCast(COLOR_LIGHTRED,string);
format(string, sizeof(string), "AdmCmd: %s je stavljen u BH kavez od Admina %s-a", giveplayer, sendername);
printf("%s",string);
       }
}
else
{
   SendClientMessage(playerid, COLOR_GREY, "   Igrac je offline !");
   return 1;
}
   }
   return 1;
}


ZA DB:
if(strcmp(cmd, "/kavezdb",true) == 0)
{
   if(IsPlayerConnected(playerid))
   {
       if(PlayerInfo[playerid][pAdmin] < 1)
       {
           SendClientMessage(playerid, COLOR_GREY, "   Niste ovlasteni za koristenje te komande !");
           return 1;
       }
       tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "Koriscenje: /kavezdb [ID Igraca/Dio Imena]");
return 1;
}
giveplayerid = ReturnUser(tmp);
   if(IsPlayerConnected(giveplayerid))
   {
       if(giveplayerid != INVALID_PLAYER_ID)
       {
           GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* Stavili ste %s-a u Kavez srama za DB.", giveplayer);
SendClientMessage(playerid, COLOR_LIGHTRED, string);
format(string, sizeof(string), "* Admin%s vas je stavio u Kavez srama zbog DB-a.", sendername);
SendClientMessage(giveplayerid, COLOR_LIGHTRED, string);
GameTextForPlayer(giveplayerid, "~w~Dobrodosli u ~n~~r~DB Kavez Srama", 5000, 3);
WantedPoints[giveplayerid] = 0;
WantedLevel[giveplayerid] = 0;
           SetPlayerPos(giveplayerid, 1587.9905,-1236.6213,277.8755);
SetPlayerInterior(giveplayerid,0);
PlayerInfo[giveplayerid][pInt] = 0;
format(string, 256, "AdmCmd: %s je zatvoren u kavez srama od Admina %s zbog DB-a.", giveplayer, sendername);
BroadCast(COLOR_LIGHTRED,string);
format(string, sizeof(string), "AdmCmd: %s je stavljen u DB kavez od Admina %s-a", giveplayer, sendername);
printf("%s",string);
       }
}
else
{
   SendClientMessage(playerid, COLOR_GREY, "   Igrac je offline !");
   return 1;
}
   }
   return 1;
}

ZA RK:
if(strcmp(cmd, "/kavezrk",true) == 0)
{
   if(IsPlayerConnected(playerid))
   {
       if(PlayerInfo[playerid][pAdmin] < 1)
       {
           SendClientMessage(playerid, COLOR_GREY, "   Niste ovlasteni za koristenje te komande !");
           return 1;
       }
       tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "Koriscenje: /kavezrk [ID Igraca/Dio Imena]");
return 1;
}
giveplayerid = ReturnUser(tmp);
   if(IsPlayerConnected(giveplayerid))
   {
       if(giveplayerid != INVALID_PLAYER_ID)
       {
           GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* Stavili ste %s-a u Kavez srama za RK.", giveplayer);
SendClientMessage(playerid, COLOR_LIGHTRED, string);
format(string, sizeof(string), "* Admin%s vas je stavio u Kavez srama zbog RK-a.", sendername);
SendClientMessage(giveplayerid, COLOR_LIGHTRED, string);
GameTextForPlayer(giveplayerid, "~w~Dobrodosli u ~n~~r~RK Kavez Srama", 5000, 3);
WantedPoints[giveplayerid] = 0;
WantedLevel[giveplayerid] = 0;
           SetPlayerPos(giveplayerid, 1587.9905,-1236.6213,277.8755);
SetPlayerInterior(giveplayerid,0);
PlayerInfo[giveplayerid][pInt] = 0;
format(string, 256, "AdmCmd: %s je zatvoren u kavez srama od Admina %s zbog RK-a.", giveplayer, sendername);
BroadCast(COLOR_LIGHTRED,string);
format(string, sizeof(string), "AdmCmd: %s je stavljen u RK kavez od Admina %s-a", giveplayer, sendername);
printf("%s",string);
       }
}
else
{
   SendClientMessage(playerid, COLOR_GREY, "   Igrac je offline !");
   return 1;
}
   }
   return 1;
}


ZA SK:
if(strcmp(cmd, "/kavezsk",true) == 0)
{
   if(IsPlayerConnected(playerid))
   {
       if(PlayerInfo[playerid][pAdmin] < 1)
       {
           SendClientMessage(playerid, COLOR_GREY, "   Niste ovlasteni za koristenje te komande !");
           return 1;
       }
       tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "Koriscenje: /kavezsk [ID Igraca/Dio Imena]");
return 1;
}
giveplayerid = ReturnUser(tmp);
   if(IsPlayerConnected(giveplayerid))
   {
       if(giveplayerid != INVALID_PLAYER_ID)
       {
           GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* Stavili ste %s-a u Kavez srama za SK.", giveplayer);
SendClientMessage(playerid, COLOR_LIGHTRED, string);
format(string, sizeof(string), "* Admin%s vas je stavio u Kavez srama zbog SK-a.", sendername);
SendClientMessage(giveplayerid, COLOR_LIGHTRED, string);
GameTextForPlayer(giveplayerid, "~w~Dobrodosli u ~n~~r~SK Kavez Srama", 5000, 3);
WantedPoints[giveplayerid] = 0;
WantedLevel[giveplayerid] = 0;
           SetPlayerPos(giveplayerid, 1568.3661,-1234.6260,277.8783);
SetPlayerInterior(giveplayerid,0);
PlayerInfo[giveplayerid][pInt] = 0;
format(string, 256, "AdmCmd: %s je zatvoren u kavez srama od Admina %s zbog SK-a.", giveplayer, sendername);
BroadCast(COLOR_LIGHTRED,string);
format(string, sizeof(string), "AdmCmd: %s je stavljen u SK kavez od Admina %s-a", giveplayer, sendername);
printf("%s",string);
       }
}
else
{
   SendClientMessage(playerid, COLOR_GREY, "   Igrac je offline !");
   return 1;
}
   }
   return 1;
}


ZA DM:
if(strcmp(cmd, "/kavezdm",true) == 0)
{
   if(IsPlayerConnected(playerid))
   {
       if(PlayerInfo[playerid][pAdmin] < 1)
       {
           SendClientMessage(playerid, COLOR_GREY, "   Niste ovlasteni za koristenje te komande !");
           return 1;
       }
       tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "Koriscenje: /kavezdm [ID Igraca/Dio Imena]");
return 1;
}
giveplayerid = ReturnUser(tmp);
   if(IsPlayerConnected(giveplayerid))
   {
       if(giveplayerid != INVALID_PLAYER_ID)
       {
           GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* Stavili ste %s-a u Kavez srama za DM.", giveplayer);
SendClientMessage(playerid, COLOR_LIGHTRED, string);
format(string, sizeof(string), "* Admin%s vas je stavio u Kavez srama zbog DM-a.", sendername);
SendClientMessage(giveplayerid, COLOR_LIGHTRED, string);
GameTextForPlayer(giveplayerid, "~w~Dobrodosli u ~n~~r~DM Kavez Srama", 5000, 3);
WantedPoints[giveplayerid] = 0;
WantedLevel[giveplayerid] = 0;
           SetPlayerPos(giveplayerid, 1589.6886,-1249.9038,277.8788);
SetPlayerInterior(giveplayerid,0);
PlayerInfo[giveplayerid][pInt] = 0;
format(string, 256, "AdmCmd: %s je zatvoren u kavez srama od Admina %s zbog DM-a.", giveplayer, sendername);
BroadCast(COLOR_LIGHTRED,string);
format(string, sizeof(string), "AdmCmd: %s je stavljen u DM kavez od Admina %s-a", giveplayer, sendername);
printf("%s",string);
       }
}
else
{
   SendClientMessage(playerid, COLOR_GREY, "   Igrac je offline !");
   return 1;
}
   }
   return 1;
}



Ja sam ovako stavio a vi mozete drugacije hvala mozete da ocenite skriptu od 1/10...

8) Nadam se da sam nekome pomogao
Poslednja Izmena: Mart 12, 2011, 20:29:23 POSLE PODNE od McAfee
~~~ProSolution Roleplay Samp Server
ProSolution RolePlay Nas ip je: 193.192.59.107:7783

~~~ProSolution TeamSpeak 3~~~
iNfamous Team Speak 3 Server...  64.31.59.188:9999

~~~ProSolution Roleplay Forum
ProSolution RolePlay Nas forum je:

makelele


Ma mrzi me neka ovako nemogu sad da stavljam tamo :D
~~~ProSolution Roleplay Samp Server
ProSolution RolePlay Nas ip je: 193.192.59.107:7783

~~~ProSolution TeamSpeak 3~~~
iNfamous Team Speak 3 Server...  64.31.59.188:9999

~~~ProSolution Roleplay Forum
ProSolution RolePlay Nas forum je:


Citat: Bear poslato Mart 12, 2011, 14:29:22 POSLE PODNE
sta kad padne kisa ode ti

Haha šta fali ak kiša pada ionak je ovo jedna Vrsta Areje jel tako?

Nije loše :)


Respect to: $--L84S--$, EP,-300-, Extreme, Gonss, мσмαк. ^ [5], Alexandar? Coreli..






OTIÅ AO SA BALKAN-SAMPA. Kontakt: [email protected]

iskreno ne volim ovakve mape.

8/10 potrudio si se,



Posjetite nas i osjetite razliku
www.balkan-city.info



193.192.59.151:7788


Game monitor nije u 100% tocan tj uvjek pokaziva manje

dragan12

Onako nije lose nego de ga turi tako visko  ;). 7/10

Mikic95



Hvala svima...


Citat: Gagi_Corleone poslato Mart 12, 2011, 14:46:47 POSLE PODNE
Onako nije lose nego de ga turi tako visko  ;). 7/10


e pa to je da nebi mogli da pobegnu...  Sad sam skroz zatvorio tako da nemogu ni helicem da ih izvuku, ali mrzi me da kacim sve ponovo
Poslednja Izmena: Mart 12, 2011, 16:45:56 POSLE PODNE od McAfee
~~~ProSolution Roleplay Samp Server
ProSolution RolePlay Nas ip je: 193.192.59.107:7783

~~~ProSolution TeamSpeak 3~~~
iNfamous Team Speak 3 Server...  64.31.59.188:9999

~~~ProSolution Roleplay Forum
ProSolution RolePlay Nas forum je:

druze nekako mi nelogicno da zatvor stoji nazdravi i to najvecoj :D ....
spusti zatvor negde dole ;)


Doboro je damo da si malo bolju mappu napravio i to bi bilo to 8/10