Jump to content

Spilter

Membru
  • Posts

    101
  • Joined

  • Last visited

    Never

Everything posted by Spilter

  1. Poi iti trebuie un fs de radio!Caut sus akolo la Search!!
  2. Nu este neaparat cu native!
  3. AA trebui sa scrri la OnPlayerSpawn pui asta StopAudioStreamForPlayer(playerid);
  4. Salut!Am 5 warnings la compilare!Este un sistem de masini personale! D:\Gta.Creepz2\filterscripts\masinii.pwn(1701) : warning 235: public function lacks forward declaration (symbol "Roach_Time_Tools") D:\Gta.Creepz2\filterscripts\masinii.pwn(1712) : warning 205: redundant code: constant expression is zero D:\Gta.Creepz2\filterscripts\masinii.pwn(1713) : warning 205: redundant code: constant expression is zero D:\Gta.Creepz2\filterscripts\masinii.pwn(1714) : warning 205: redundant code: constant expression is zero D:\Gta.Creepz2\filterscripts\masinii.pwn(1718) : warning 205: redundant code: constant expression is zero Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 5 Warnings. Linii public Roach_Time_Tools() TextDrawSetFormat(TextdrawHour, "%02d", ServerHour); TextDrawSetFormat(TextdrawMinute, ":%02d", ServerMinute); TextDrawSetFormat(TextdrawSeconds, ":%02d", ServerSecond); TextDrawSetFormat(TextdrawDay, "%02d", Day);
  5. Si eu am pus si merge bine.Posibil sa nu il fi pus unde trebuie exact.
  6. exact am sters tot din carkey si am sters si masinile de la pcars
  7. Eu am pus acesta comanda pentru ca la mine in gamemode merge foarte bine
  8. Incerca asta if(strcmp(cmd, "/join", true) == 0) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pJob] == 0) { if (GetPlayerState(playerid) == 1 && PlayerToPoint(3.0, playerid,359.5408,206.7693,1008.3828)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You are about to become a Detective, and get a 5 hour Contract."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You have to forfill this Contract first, if you want to Quit the job later."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* If you are sure to become a Detective, type /accept job."); GettingJob[playerid] = 1; } else if (GetPlayerState(playerid) == 1 && PlayerToPoint(3.0, playerid,347.7374,193.7241,1014.1875)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You are about to become a Lawyer, and get a 5 hour Contract."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You have to forfill this Contract first, if you want to Quit the job later."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* If you are sure to become a Lawyer, type /accept job."); GettingJob[playerid] = 2; } else if (GetPlayerState(playerid) == 1 && PlayerToPoint(3.0, playerid,1215.1304,-11.8431,1000.9219)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You are about to become a Whore, and get a 5 hour Contract."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You have to forfill this Contract first, if you want to Quit the job later."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* If you are sure to become a Whore, type /accept job."); GettingJob[playerid] = 3; } else if (GetPlayerState(playerid) == 1 && PlayerToPoint(3.0, playerid,2166.3772,-1675.3829,15.0859)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You are about to become a Drugs Dealer, and get a 5 hour Contract."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You have to forfill this Contract first, if you want to Quit the job later."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* If you are sure to become a Drugs Dealer, type /accept job."); GettingJob[playerid] = 4; } else if (GetPlayerState(playerid) == 1 && PlayerToPoint(3.0, playerid,1109.3318,-1796.3042,16.5938)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You are about to become a Car Jacker, and get a 5 hour Contract."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You have to forfill this Contract first, if you want to Quit the job later."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* If you are sure to become a Car Jacker, type /accept job."); GettingJob[playerid] = 5; } else if (GetPlayerState(playerid) == 1 && PlayerToPoint(3.0, playerid,-1932.3859,276.2117,41.0391)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You are about to become a Car Mechanic, and get a 5 hour Contract."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You have to forfill this Contract first, if you want to Quit the job later."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* If you are sure to become a Car Mechanic, type /accept job."); GettingJob[playerid] = 7; } else if (GetPlayerState(playerid) == 1 && PlayerToPoint(3.0, playerid,2226.1716,-1718.1792,13.5165)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You are about to become a Bodyguard, and get a 5 hour Contract."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You have to forfill this Contract first, if you want to Quit the job later."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* If you are sure to become a Bodyguard, type /accept job."); GettingJob[playerid] = 8; } else if (GetPlayerState(playerid) == 1 && PlayerToPoint(3.0, playerid,1366.4325,-1275.2096,13.5469)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You are about to become a Arms Dealer, and get a 5 hour Contract."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You have to forfill this Contract first, if you want to Quit the job later."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* If you are sure to become a Arms Dealer, type /accept job."); GettingJob[playerid] = 9; } else if (GetPlayerState(playerid) == 1 && PlayerToPoint(3.0, playerid,531.7930,-1292.4044,17.2422)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You are about to become a Car Dealer, and get a 5 hour Contract."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You have to forfill this Contract first, if you want to Quit the job later."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* If you are sure to become a Car Dealer, type /accept job."); GettingJob[playerid] = 10; } else if (GetPlayerState(playerid) == 1 && PlayerToPoint(3.0, playerid,766.0804,14.5133,1000.7004)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You are about to become a Boxer, and get a 5 hour Contract."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You have to forfill this Contract first, if you want to Quit the job later."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* If you are sure to become a Boxer, type /accept job."); GettingJob[playerid] = 12; } else if (GetPlayerState(playerid) == 1 && PlayerToPoint(3.0, playerid,1753.2321,-1894.4097,13.5572)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You are about to become a Bus Driver, and get a 5 hour Contract."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You have to forfill this Contract first, if you want to Quit the job later."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* If you are sure to become a Bus Driver, type /accept job."); GettingJob[playerid] = 14; } else if (GetPlayerState(playerid) == 1 && PlayerToPoint(3.0, playerid,-2040.9436,456.2395,35.1719)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You are about to become a Paper Boy, and get a 5 hour Contract."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You have to forfill this Contract first, if you want to Quit the job later."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* If you are sure to become a Paper Boy, type /accept job."); GettingJob[playerid] = 15; } else if (GetPlayerState(playerid) == 1 && PlayerToPoint(3.0, playerid,-77.7288,-1136.3896,1.0781)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You are about to become a Trucker, and get a 5 hour Contract."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You have to forfill this Contract first, if you want to Quit the job later."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* If you are sure to become a Trucker, type /accept job."); GettingJob[playerid] = 16; } else if (GetPlayerState(playerid) == 1 && PlayerToPoint(3.0, playerid,-2073.8772,225.4153,35.8028)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You are about to become a Hotz, and get a 5 hour Contract."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You have to forfill this Contract first, if you want to Quit the job later."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* If you are sure to become a Hotz, type /accept job."); GettingJob[playerid] = 17; } else if (GetPlayerState(playerid) == 1 && PlayerToPoint(3.0, playerid,860.9663,-985.2528,34.6266)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You are about to become a Beggar, and get a 5 hour Contract."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You have to forfill this Contract first, if you want to Quit the job later."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* If you are sure to become a Beggar, type /accept job."); GettingJob[playerid] = 18; } else if (GetPlayerState(playerid) == 1 && PlayerToPoint(3.0, playerid,-382.4435,-1438.8563,25.7279)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You are about to become a Farmer, and get a 5 hour Contract."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You have to forfill this Contract first, if you want to Quit the job later."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* If you are sure to become a Farmer, type /accept job."); GettingJob[playerid] = 19; } else if (GetPlayerState(playerid) == 1 && PlayerToPoint(3.0, playerid,2195.8325,-1973.5117,13.5589)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You are about to become a Garbage Man, and get a 5 hour Contract."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You have to forfill this Contract first, if you want to Quit the job later."); SendClientMessage(playerid, COLOR_LIGHTBLUE, "* If you are sure to become a Garbage Man, type /accept job."); GettingJob[playerid] = 20; } else { SendClientMessage(playerid, COLOR_WHITE, "You are not even near a place to get a Job !"); } } else { SendClientMessage(playerid, COLOR_WHITE, "You already have a Job, use /quitjob first !"); } }//not connected return 1;
  9. Salut!Am o problema cu car ownership cand cand vreau sa ii dau oricarui jucator o masina personala imi (cu /acreatecar) imi da ca deja acest player are 3 masini.Am intrat in scriptfiles si am sters toate cheile(acel player nu avea nicio cheie).Am sters si masinile din pcars dar tot asa imi arata.Multumesc!
  10. Asa am fakut cum ai spus dar cand dau sa se compileze, nu compileaza.Am luat pawno din server-ul original dar nici asa nu compileaza!
  11. Salut!Am o problema aici Am pus la OnPlayerSpawn PlayAudioStreamForPlayer(playerid, "http://gta-cp.info/sounds/Godfather.mp3");.Cand il compiles fara #define nu imi da nicio eroare dar nici nu merge.Cand il definesc imi da eroare expresion has no efect.Ce ar trebui sa fac?
  12. Salut!Am o problema cu comanda kick !Cand vreau sa dau kick cuiva imi zice canu pot da kick unui membru din staful meu!La orice persoana si una debea inregistrata! if(strcmp(cmd, "/kick", true) == 0) { if(IsPlayerConnected(playerid)) { tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /kick [playerid/PartOfName] [reason]"); return 1; } giveplayerid = ReturnUser(tmp); if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pHelper] >= 3) { if(IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { if (strcmp(giveplayer,"Spilter",true)==0 || strcmp(giveplayer,"Spilter",true)==0) { SendClientMessage(playerid, COLOR_GRAD1, "You cannot kick the member of staff!."); return 1; } GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); new length = strlen(cmdtext); while ((idx < length) && (cmdtext[idx] <= ' ')) { idx++; } new offset = idx; new result[64]; while ((idx < length) && ((idx - offset) < (sizeof(result) - 1))) { result[idx - offset] = cmdtext[idx]; idx++; } result[idx - offset] = EOS; if(!strlen(result)) { SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /kick [playerid/PartOfName] [reason]"); return 1; } new year, month,day; getdate(year, month, day); format(string, sizeof(string), "{F81414}AdmCmd: {F3FF02}%s was kicked by {FFFFFF}%s,{F81414}reason: %s (%d-%d-%d)", giveplayer, sendername, (result),month,day,year); if(PlayerInfo[playerid][pAdmin] > 0) { format(string, sizeof(string), "{F81414}Admin %s: {F3FF02}%s was kicked with reason:{F81414} %s",sendername,giveplayer, (result)); } if(PlayerInfo[playerid][pHelper] > 0) { format(string, sizeof(string), "{F81414}Helper %s: {F3FF02}%s was kicked with reason:{F81414} %s",sendername,giveplayer, (result)); } SendClientMessageToAll(COLOR_LIGHTRED, string); KickLog(string); Kick(giveplayerid); return 1; } } } else { format(string, sizeof(string), " %d is not an active player.", giveplayerid); SendClientMessage(playerid, COLOR_GRAD1, string); } } return 1; }
  13. Salut!Am dat akolo la vehicles si am dat block(am pus codul de pe net)si nu merge are cnv o varianta mai buna?Cum sa fac in asa fel ca sa nu pot trage de pe motocicleta/masina.Multumesc
  14. Spilter

    Payday!

    Sa pun sub asta: if(PlayerInfo[playerid][pAdmin] >= 1338) { tmp = strtok(cmdtext,idx); if(strlen(tmp) == 0)
  15. Spilter

    Payday!

    Nuam settimer. Iti dau linia de la /payday?sunt exact alea de la linkul acela.
  16. Spilter

    Payday!

    Salut!Am o problema cu payday-ul nu mi se da automat!trb sa setez ceva ca nush ce sa mai incerc! Sistemul payday care il folosesc:http://www.sa-mp.ro/forum/index.php/topic,6731.0.html Ca sa dau payday-ul trb mereu sa scriu/payday normal! Care ar fi problema? Multumesc!
  17. Nu mai exact eu vreau sa stea mai mult wanted Cum ar fi ex:la Wnated 7 ca sa scad la Wanted 6 sa dureze 10 minute timpul pana iti scade wantedul(daca nu esti prins)
  18. Salut!Vreau sa setez timpul de wanted da nush la ce sa umblu exact!Timpul de wanted as vrea sa fie de 10 min! if(WantedLevel[playerid] >= 1) { if(gTeam[playerid] == 3) { gTeam[playerid] = 4; } } SetTimerEx( "dLevel", (600*1000), true, "d", playerid );
  19. Salut!Totul merge bine in fs dar am o prob la toti playeri care intra in joc si vreau sa le dau o masina imi spune ca deja are 3 masini personale!!Ce sa fac?orikum un fs 5/5.
  20. Nu se deschide bariera.Barierele sunt Ls-Sf si Ls-Lv merge doar cea din Sf-Ls restu nu se deschid //------------------------------------Barrier-------------------------------------- if(strcmp(cmd, "/barrier", true) == 0) { if(PlayerToPoint(3.0, playerid, 63.0148,-1524.9260,4.9184)) { if(PlayerInfo[playerid][pPassport] == 1) { MoveDynamicObject(vama1,54.190098, -1529.675781, 5.085436, 2.5); MoveDynamicObject(vama2,52.703281, -1540.749634, 5.067452, 2.5); MoveDynamicObject(vama1,54.231167, -1529.687012, 9.320637, 3.5); SetTimer("GateClosse", 4000, 0); SendClientMessage(playerid, COLOR_1GREEN, "The barrier was opened, it closed in 4 seconds."); return 1; } else { SendClientMessage(playerid, COLOR_1BLUE, "* You don't have an Passport, go in the City Hall and buy one."); return 1; } } else if(PlayerToPoint(3.0, playerid, 43.9277,-1540.1890,5.2053)) { if(PlayerInfo[playerid][pPassport] == 1) { MoveDynamicObject(vama2,52.695782, -1540.765869, 9.255125, 3.5); SetTimer("GateClosse", 4000, 0); SendClientMessage(playerid, COLOR_1GREEN, "The barrier was opened, it closed in 4 seconds."); return 1; } else { SendClientMessage(playerid, COLOR_WHITE, "* You don't have an Passport, go in the City Hall and buy one."); return 1; } } else if(PlayerToPoint(5.0, playerid, 1734.4246,548.4321,26.5624)) { if(PlayerInfo[playerid][pPassport] == 1) { MoveDynamicObject(vama3, 1735.363892, 541.511719, 23.052874, 3.5); SetTimer("GateClossse", 4000, 0); SendClientMessage(playerid, COLOR_1GREEN, "The barrier was opened, it closed in 4 seconds."); return 1; } else { SendClientMessage(playerid, COLOR_WHITE, "* You don't have an Passport, go in the City Hall and buy one."); return 1; } } else if(PlayerToPoint(5.0, playerid, 1752.8773,524.2502,27.5999)) { if(PlayerInfo[playerid][pPassport] == 1) { MoveDynamicObject(vama4, 1752.032959, 534.572021, 23.052874, 3.5); SetTimer("GateClossse", 4000, 0); SendClientMessage(playerid, COLOR_1GREEN, "The barrier was opened, it closed in 4 seconds."); return 1; } else { SendClientMessage(playerid, COLOR_WHITE, "* You don't have an Passport, go in the City Hall and buy one."); return 1; } } else { SendClientMessage(playerid, COLOR_WHITE, "You are not at Barrier."); return 1; } }
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.