PLS POMOC!!!

Započeo Luka_Scripting, April 03, 2020, 00:15:58 PRE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

Problem(error/warning): zna li ko kako da ovo prebacim u prozor u samp da mi nebude u chatu komande
Dio skripte:               case 11: //Admin
              {
                  if(PI[playerid][pAdmin] == 0)
                  {
                     Error(playerid, "Nisi Admin.");
               }
                  else if(PI[playerid][pAdmin] == 1)
                  {
                     SCM(playerid, -1, "{FFFA73}*** ADMIN - 1 ***{FFFFFF} /checkweapons /entercar /mdc /jail /prison /startevent /stopevent /aduty /pm");
                     SCM(playerid, -1, "/getcar /gotocar /tod /gethere /freeze /unfreeze /slap /cc /specon /specoff /kick /name /podesihp /podesipancir /kill /fixveh");
                     SCM(playerid, -1, "/carinfo (/a)dmin (/o)oc (/ao)oc /nitro /vehid /rac /rtc /rtcveh (/so)oc /goto /jetpack /ateleport /count /tunecar /check");
                     SCM(playerid, -1, "/setint /setvw /getint /getvw /vipovi /promoteri /playercc /mark /gotomark /asklist /apb /gotopos /support");
                     SCM(playerid, -1, "/oduzmioruzje /vipskin /rtcradius /ocistioglas /flipcar /alias /ips /getaliases /playerinfo /adblock");
                     SCM(playerid, -1, "/fine /take(car) /checkinv /friskcar /timerac /timenrac /mute /unmute /getanimid /prisluskivanje /list");
                     SCM(playerid, -1, "/lastcar /lockacc /pir /onduty /orgchat /acrb /arrb(all) /checkskills /aclear /area /destroy /auninvite /lastdeath");
                     SCM(playerid, -1, "/spawn /vehosamari /podesihp30m /podesipancir30m");
               }
               else if(PI[playerid][pAdmin] == 2)
                  {
                     SCM(playerid, -1, "{FFFA73}*** ADMIN - 2 ***{FFFFFF} /checkweapons /entercar /mdc /jail /prison /startevent /stopevent");
                     SCM(playerid, -1, "/getcar /carinfo /gotocar /tod /gethere /freeze /unfreeze /slap /cc /specon /specoff /kick /name /podesihp /area");
                     SCM(playerid, -1, "(/a)dmin (/o)oc (/ao)oc /vehid /nitro /rac (/un)mute /rtc /rtcveh (/so)oc /goto /jetpack /ateleport /count /mute /flipcar");
                     SCM(playerid, -1, "/aduty /pm /support /setint /setvw /getint /getvw /podesipancir /kill /fixveh /tunecar /check /vipovi /promoteri");
                     SCM(playerid, -1, "/playercc  /mark /gotomark /oduzmioruzje /vipskin /rtcradius /ocistioglas /unmute /destroy /vehosamari");
                  SCM(playerid, -1, "/alias /fine /ips /getaliases /playerinfo /take(car) /checkinv /friskcar /timerac /timenrac /aclear /apb /spawn");
                  SCM(playerid, -1, "/prisluskivanje /getanimid /asklist /lastcar /offprison /lockacc /pir /onduty /orgchat /acrb /arrb(all) /checkskills /lastdeath");
                  SCM(playerid, -1, "/auninvite /adblock /adunblock /weaponforbid /gotopos /podesihp30m /podesipancir30m /offarea");
               }
               else if(PI[playerid][pAdmin] == 3)
                  {
                     SCM(playerid, -1, "{FFFA73}*** ADMIN - 3 ***{FFFFFF} /area /checkweapons /entercar /weather /weatherall /mdc /jail");
                     SCM(playerid, -1, "/getip /setint /setvw /getint /getvw /getcar /gotocar /tod /gethere /freeze /unfreeze /setskin /slap /cc /specon /specoff");
                     SCM(playerid, -1, "/kick /name /podesihp /carinfo /podesipancir /kill /fixveh (/a)dmin (/o)oc (/ao)oc /vehid /rac /rtc /rtcveh /goto /jetpack /ateleport");
                     SCM(playerid, -1, "/check /vipovi /nitro /promoteri (/un)mute (/so)oc /hproverinovac /gotomark /lockacc /orgchat /acrb");
                     SCM(playerid, -1, "/startevent /stopevent /aduty /fly /pm /support /auninvite /count /tunecar /vproverinovac /prison");
                     SCM(playerid, -1, "/cproverinovac /fproverinovac /sproverinovac /tproverinovac /playercc  /exit /mark /getanimid /prisluskivanje /lastdeath");
                     SCM(playerid, -1, "/placefw /launchfw /oduzmioruzje /vipskin /rtcradius /ocistioglas /aclear /onduty /apb /weaponforbid /offarea");
                     SCM(playerid, -1, "/givegun /flipcar /copsuspend /copunsuspend /stopwar /asklist /pir /arrb(all) /spawn /podesihp30m /podesipancir30m");
                     SCM(playerid, -1, "/alias /ips /getips /getaliases /playerinfo /fine /take(car) /checkinv /friskcar /timerac /timenrac /startwar /offprison");
                     SCM(playerid, -1, "/lastcar /checkskills /destroy /unprison(me) /adblock /adunblock /gotopos /vehosamari");
               }
               else if(PI[playerid][pAdmin] == 4)
                  {
                     SCM(playerid, -1, "{FFFA73}*** HEAD ADMIN ***{FFFFFF} /area /checkweapons /entercar /weather /weatherall /mdc /jail");
                     SCM(playerid, -1, "/getip /aclear /aduty /fly /givegun /carinfo /support /setint /setvw /getint /getvw /getcar /gotocar /tod /gethere");
                     SCM(playerid, -1, "/setskin /slap /cc /specon /specoff /kick /name /podesihp /podesipancir /kill /fixveh (/a)dmin /stopwar /weaponforbid /prison");
                     SCM(playerid, -1, "/udjiuorg /rtc /rtcveh /nitro /goto /jetpack /count (/un)mute (/so)oc /cproverinovac /fine /mark /gotomark /spawn /offarea");
                     SCM(playerid, -1, "/setjob /setijob /startevent /stopevent /pm /freeze /unfreeze /copsuspend /copunsuspend /dajpromotera /exit /prisluskivanje");
                     SCM(playerid, -1, "(/o)oc (/ao)oc /vehid /rac /ateleport /auninvite /vproverinovac /tunecar /check /vipovi /destroy /vehosamari");
                     SCM(playerid, -1, "/promoteri /hproverinovac /fproverinovac /sproverinovac /tproverinovac /playercc /fban /kviz /onduty /apb /lastdeath");
                     SCM(playerid, -1, "/placefw /launchfw /oduzmioruzje /vipskin /rtcradius /unprison(me) /ocistioglas /pir /cameditor /acrb /arrb(all)");
                     SCM(playerid, -1, "/dajhelpera /skinihelpera /flipcar /checkinv /friskcar /offban /ban /timerac /timenrac /startwar /getanimid");
                     SCM(playerid, -1, "/alias /ips /getips /getaliases /playerinfo /take(car) /unban /banip /unbanip /offlockacc /lockacc /unlockacc /offprison");
                     SCM(playerid, -1, "/aclearall /apark /healall /armorall /asklist /lastcar /warn /dajlidera /skinilidera /orgchat /checkskills /liveevent");
                     SCM(playerid, -1, "/skinipromotera /adblock /adunblock /gotopos /veh /destroyveh(id) /destroyallvehs /podesihp30m /podesipancir30m");
               }
               else if(PI[playerid][pAdmin] == 5)
                  {
                     SCM(playerid, -1, "{FFFA73}*** DIRECTOR ***{FFFFFF} /area /checkweapons /entercar /weather /weatherall /mdc /jail /prison");
                  SCM(playerid, -1, "/getip /asellcar /pstats /aclear /carinfo /dajhelpera /startevent /stopevent /aduty /fly /pm /playercc /apb");
                  SCM(playerid, -1, "/setint /setvw /getint /getvw /getcar /gotocar /tod /gethere /getallhere /freeze /unfreeze /gotopos /spawn /unprison");
                  SCM(playerid, -1, "/slap /cc /specon /specoff /kick /name /unban /unbanip /banip /ban /warn /offban /podesihp /podesipancir /kill /fixveh (/a)dmin");
                  SCM(playerid, -1, "/rac /rtc /rtcveh /goto /jetpack /napravivozilo /ateleport /agl /auninvite /skinilidera /dajpromotera /count /podesihp30m /offarea");
                  SCM(playerid, -1, "/udjiuorg /vipovi /nitro (/un)mute (/so)oc /cproverinovac /fine /copsuspend /copunsuspend /healall /lastcar /checkskills");
                  SCM(playerid, -1, "/setijob /setjob /dajlidera /apark /givegun /support /setskin /vproverinovac (/o)oc (/ao)oc /vehid /check /napuniatmove");
                  SCM(playerid, -1, "/tunecar /fuelncars /cnnn /vote /stopvote /vratistats /promoteri /startwar /stopwar /onduty /destroy /vehosamari /podesipancir30m");
                  SCM(playerid, -1, "/hproverinovac /fproverinovac /sproverinovac /tproverinovac /unprisonme /prisluskivanje /orgchat");
                  SCM(playerid, -1, "/exit /mark /gotomark /placefw /launchfw /crash /lockacc /offlockacc /unlockacc /pancir(off) /asklist /acrb /arrb(all)");
                  SCM(playerid, -1, "/hostname /oduzmioruzje /vipskin /rtcradius /ocistioglas /fban /getanimid /offprison /pir /cameditor /proveriimovinu");
                  SCM(playerid, -1, "/skinihelpera /activatepresents /flipcar /checkinv /friskcar /timerac /timenrac /kviz /aclearall /lastdeath");
                  SCM(playerid, -1, "/alias /ips /getips /getaliases /playerinfo /take(car) /deletechannel /editchannelowner /editchannelpassword /armorall");
                  SCM(playerid, -1, "/skinipromotera /adblock /adunblock /weaponforbid /veh /destroyveh(id) /destroyallvehs /liveevent");
                  SCM(playerid, -1, "/permisija /proveripermisije");
               }
               else if(PI[playerid][pAdmin] == 6)
                  {
                     SCM(playerid, -1, "{FFFA73}*** OWNER ***{FFFFFF} /area /checkweapons /entercar /weather /weatherall /napravivozilo /mdc /ekucu");
                     SCM(playerid, -1, "/getip /setcode /jail /prison /unprison /carinfo /unprisonme /setjob /dajlidera /apark /asellcar /pstats /pir");
                     SCM(playerid, -1, "/napravigraffit /gotoimanje /obrisiimanje /napraviulicu /napravigovornicu /onduty /spawn /apb /podesipancir30m");
                     SCM(playerid, -1, "/deleteacc /startpayday /aclear /aclearall /dajhelpera /dajvipa /playercc /adria /cameditor /vehosamari /podesihp30m");
                     SCM(playerid, -1, "/gototrafika (/gotozgrada)o /asellfirma /asellkuca /asellvikendica /obrisivikendicu /napravivikendicu /savepos /offarea");
                     SCM(playerid, -1, "/saveaccounts /obrisigarazu /obrisizgradu /napravikucu /napravigarazu /napravistan /napravitrafiku");
                     SCM(playerid, -1, "/anticheat /napravilabel /napravifirmu /efirmu /efirmu2 /changename /startevent /stopevent /aduty /fly /healall");
                     SCM(playerid, -1, "/adminmenu /mark /gotomark /nitro /agivelevelall /adajnovacall /pm /givegun /support /setint /setvw /getint /getvw");
                     SCM(playerid, -1, "/gotocar /createdynamicpickup /reloadbans /tod /gethere /getallhere /freeze /unfreeze /gotopos /setskin /obrisikucu");
                     SCM(playerid, -1, "/aodpleni /slap /cc /specon /specoff /kick /name /unban /ban /offban /podesihp /podesipancir /dajnovac /money /kill /fixveh");
                     SCM(playerid, -1, "(/o)oc (/ao)oc /vehid /gmx /rac /rtc /rtcveh (/un)mute /goto /up /dn /jetpack /dajadmina /warn /ateleport /agl /obrisiulicu");
                     SCM(playerid, -1, "/astatistika /dajpromotera /count /tunecar /fuelncars /cnnn /vote /stopvote /vratistats /check /givescp");
                     SCM(playerid, -1, "/startwar /stopwar /objectsoff /copsuspend /copunsuspend /cproverinovac /hproverinovac /fproverinovac");
                     SCM(playerid, -1, "/udjiuorg /rekord (/so)oc /kviz /fban /eimanje /acrb /arrb(all) /obrisigovornicu /obrisitrafiku /premestiatm");
                     SCM(playerid, -1, "/setijob /otkljucajserver /napraviatm /napraviradar /vproverinovac /hostname /makeplayerobject /liveevent /premestifirmu");
                  SCM(playerid, -1, "(/gotofirma)o (/gotokuca)o /asellgaraza /asellstan /aselltrafika /napravizgradu /napravijelku /napravipoklon");
                     SCM(playerid, -1, "/armorall /startlotto (/gotovikendica)o /getcar /rppoen /obrisistan /obrisifirmu (/a)dmin (/gotogaraza)o (/gotostan)o");
                     SCM(playerid, -1, "/auninvite /skinilidera /napuniatmove /vipovi /promoteri /sproverinovac /tproverinovac /say /getanimid");
                     SCM(playerid, -1, "/obrisisef /napravisef /obrisilabel /fine /skiniadmina /donacija /zakljucajserver /prisluskivanje /orgchat /checkskills");
                     SCM(playerid, -1, "/exit /acrb /mark /gotomark /placefw /launchfw /crash /kickall /obrisifirme /checkinv /obrisidrvo /destroy");
                     SCM(playerid, -1, "/lockacc /offlockacc /unlockacc /pancir(off) /evikendicu /estan /gotocp /oduzmioruzje /vipskin /lastcar");
                     SCM(playerid, -1, "/rtcradius /ocistioglas /agiverespectall /skinihelpera /activatepresents /ipcheck /flipcar /proveriimovinu /dodajvozilo");
                     SCM(playerid, -1, "/alias /ips /getips /getaliases /playerinfo /obrisivozilo /take(car) /friskcar /deletechannel /editchannel /lastdeath");
                     SCM(playerid, -1, "/editchannelowner /editchannelpassword /timerac /timenrac /firmaname /offprison /asklist /permisija /proveripermisije /giveimunitet");
                     SCM(playerid, -1, "/skinipromotera /adblock /adunblock /weaponforbid /resethelperpoints /veh /destroyveh(id) /destroyallvehs");
               }
               else if(PI[playerid][pAdmin] == 1337)
                  {
                     SCM(playerid, -1, "{FFFA73}*** SCRIPTER ***{FFFFFF} /area /checkweapons /entercar /weather /weatherall /napravivozilo /mdc");
                     SCM(playerid, -1, "/getip /setcode /jail /prison /unprison /carinfo /unprisonme /setjob /dajlidera /apark /asellcar /pstats /pir /offarea");
                     SCM(playerid, -1, "/napravigraffit /gotoimanje /asellimanje /obrisiimanje /napraviulicu /napravigovornicu /onduty /spawn /ekucu /podesipancir30m");
                     SCM(playerid, -1, "/deleteacc /startpayday /aclear /aclearall /dajhelpera /dajvipa /playercc /adria /cameditor /podesihp30m");
                     SCM(playerid, -1, "/gototrafika (/gotozgrada)o /asellfirma /asellkuca /asellvikendica /obrisivikendicu /napravivikendicu /savepos /apb");
                     SCM(playerid, -1, "/saveaccounts /obrisigarazu /obrisizgradu /napravikucu /napravigarazu /napravistan /napravitrafiku /dodajvozilo");
                     SCM(playerid, -1, "/anticheat /napravilabel /napravifirmu /efirmu /efirmu2 /changename /startevent /stopevent /aduty /fly /healall");
                     SCM(playerid, -1, "/adminmenu /mark /gotomark /nitro /agivelevelall /adajnovacall /pm /givegun /support /setint /setvw /getint /getvw");
                     SCM(playerid, -1, "/gotocar /createdynamicpickup /reloadbans /tod /gethere /getallhere /freeze /unfreeze /gotopos /setskin /obrisikucu");
                     SCM(playerid, -1, "/aodpleni /slap /cc /specon /specoff /kick /name /unban /ban /offban /podesihp /podesipancir /dajnovac /money /kill /fixveh");
                     SCM(playerid, -1, "(/o)oc (/ao)oc /vehid /gmx /rac /rtc /rtcveh (/un)mute /goto /up /dn /jetpack /dajadmina /warn /ateleport /agl /obrisiulicu");
                     SCM(playerid, -1, "/astatistika /dajpromotera /count /tunecar /fuelncars /cnnn /vote /stopvote /vratistats /check /givescp");
                     SCM(playerid, -1, "/startwar /stopwar /objectsoff /pesma /copsuspend /copunsuspend /cproverinovac /hproverinovac /fproverinovac");
                     SCM(playerid, -1, "/udjiuorg /rekord (/so)oc /kviz /fban /eimanje /acrb /arrb(all) /vehosamari /obrisigovornicu /obrisitrafiku /premestiatm");
                     SCM(playerid, -1, "/setijob /otkljucajserver /napraviatm /napraviradar /vproverinovac /hostname /makeplayerobject /liveevent");
                  SCM(playerid, -1, "(/gotofirma)o (/gotokuca)o /asellgaraza /asellstan /aselltrafika /napravizgradu /napravijelku /napravipoklon /premestifirmu");
                     SCM(playerid, -1, "/armorall /startlotto (/gotovikendica)o /getcar /rppoen /obrisistan /obrisifirmu (/a)dmin (/gotogaraza)o (/gotostan)o");
                     SCM(playerid, -1, "/auninvite /skinilidera /napuniatmove /vipovi /promoteri /sproverinovac /tproverinovac /say /getanimid");
                     SCM(playerid, -1, "/obrisisef /napravisef /obrisilabel /fine /skiniadmina /donacija /zakljucajserver /prisluskivanje /orgchat /checkskills");
                     SCM(playerid, -1, "/exit /acrb /mark /gotomark /placefw /launchfw /crash /kickall /obrisifirme /checkinv /obrisidrvo /destroy");
                     SCM(playerid, -1, "/lockacc /offlockacc /unlockacc /pancir(off) /evikendicu /estan /gotocp /oduzmioruzje /vipskin /lastcar /destroyallvehs");
                     SCM(playerid, -1, "/rtcradius /ocistioglas /agiverespectall /skinihelpera /activatepresents /ipcheck /flipcar /proveriimovinu");
                     SCM(playerid, -1, "/alias /ips /getips /getaliases /playerinfo /obrisivozilo /take(car) /friskcar /deletechannel /editchannel /lastdeath");
                     SCM(playerid, -1, "/editchannelowner /editchannelpassword /timerac /timenrac /firmaname /offprison /asklist /permisija /proveripermisije /giveimunitet");
                     SCM(playerid, -1, "/skinipromotera /sattimer /adblock /adunblock /weaponforbid /resethelperpoints /veh /destroyveh(id)");
               }
              }

Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): [ code ]/ / /[ /code ]
Slika/video ingame problema(obavezno ako je ingame problem):///

new ahelp[stavi koliko ti je potrebno];
// stavi te prvojere za admine
strcat(ahelp, "text");