Jump to content

Diabolik

Membru
  • Posts

    716
  • Joined

  • Last visited

Everything posted by Diabolik

  1. Imi da warningurile astea la compilare ce trebuie sa fac? C:\Documents and Settings\BogdaneL\My Documents\Downloads\R2P-0.3d for wWw.SA-MP.Ro\gamemodes\R2P.pwn(13435) : warning 204: symbol is assigned a value that is never used: "money" C:\Documents and Settings\BogdaneL\My Documents\Downloads\R2P-0.3d for wWw.SA-MP.Ro\gamemodes\R2P.pwn(38286) : warning 202: number of arguments does not match definition C:\Documents and Settings\BogdaneL\My Documents\Downloads\R2P-0.3d for wWw.SA-MP.Ro\gamemodes\R2P.pwn(38286) : warning 202: number of arguments does not match definition C:\Documents and Settings\BogdaneL\My Documents\Downloads\R2P-0.3d for wWw.SA-MP.Ro\gamemodes\R2P.pwn(54826) : warning 209: function "OnPlayerKeyStateChange" should return a value C:\Documents and Settings\BogdaneL\My Documents\Downloads\R2P-0.3d for wWw.SA-MP.Ro\gamemodes\R2P.pwn(55780) : warning 203: symbol is never used: "AdminLabel" C:\Documents and Settings\BogdaneL\My Documents\Downloads\R2P-0.3d for wWw.SA-MP.Ro\gamemodes\R2P.pwn(55780) : warning 203: symbol is never used: "GetPointDistanceToPointExMorph" C:\Documents and Settings\BogdaneL\My Documents\Downloads\R2P-0.3d for wWw.SA-MP.Ro\gamemodes\R2P.pwn(12528) : warning 204: symbol is assigned a value that is never used: "graurugate1" C:\Documents and Settings\BogdaneL\My Documents\Downloads\R2P-0.3d for wWw.SA-MP.Ro\gamemodes\R2P.pwn(12539) : warning 204: symbol is assigned a value that is never used: "graurugate2" Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase Header size: 11504 bytes Code size: 2446568 bytes Data size: 11583008 bytes Stack/heap size: 16384 bytes; estimated max. usage=5724 cells (22896 bytes) Total requirements:14057464 bytes 8 Warnings.
  2. Chiar acum vroiam sa postez si eu problema asta ms acum asteptam amandoi sa raspunda cineva.
  3. Diabolik

    O eroare

    Sterge "params" din gm si nu iti mai da erori. Data viitoare cauta pe google traducere la "undefined symbol".
  4. Comanda /arrest if(strcmp(cmd, "/arrest", true) == 0) { if(IsPlayerConnected(playerid)) { if(gTeam[playerid] == 2 || IsACop(playerid)) { if(OnDuty[playerid] != 1 && PlayerInfo[playerid][pMember] == 1) { SCM(playerid, COLOR_GREY, " You are not on Duty!"); return 1; } if(!PlayerToPoint(7, playerid, 1526.3472,-1681.6047,5.8906)) {// Jail spot SCM(playerid, COLOR_GREY, " You are not near the Jail, can't Arrest !"); return 1; } tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SCM(playerid, COLOR_GRAD2, "USAGE: /arrest [price] [time (minutes)] [bail (0=no 1=yes)] [bailprice]"); return 1; } moneys = strval(tmp); if(moneys < 1 || moneys > 99999) { SCM(playerid, COLOR_GREY, " Jail Price can't be below $1 or above $99999 !"); return 1; } tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SCM(playerid, COLOR_GRAD2, "USAGE: /arrest [price] [time (minutes)] [bail (0=no 1=yes)] [bailprice]"); return 1; } new time = strval(tmp); if(time < 1 || time > 20) { SCM(playerid, COLOR_GREY, " Jail Time Minutes can't be below 1 or above 20 (Take the person to prison then) !"); return 1; } tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SCM(playerid, COLOR_GRAD2, "USAGE: /arrest [price] [time (minutes)] [bail (0=no 1=yes)] [bailprice]"); return 1; } new bail = strval(tmp); if(bail < 0 || bail > 1) { SCM(playerid, COLOR_GREY, " Jail Bailing can't be below 0 or above 1 !"); return 1; } tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SCM(playerid, COLOR_GRAD2, "USAGE: /arrest [price] [time (minutes)] [bail (0=no 1=yes)] [bailprice]"); return 1; } new bailprice = strval(tmp); if(bailprice < 0 || bailprice > 3000000) { SCM(playerid, COLOR_GREY, " Jail Bailing can't be below $0 or above $3000000 !"); return 1; } new suspect = GetClosestPlayer(playerid); if(IsPlayerConnected(suspect)) { if(GetDistanceBetweenPlayers(playerid,suspect) < 5) { GetPlayerName(suspect, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); if(WantedLevel[suspect] < 1) { SCM(playerid, COLOR_GREY, " Player must be at least Wanted Level 1 !"); return 1; } format(string, sizeof(string), "* You arrested %s !", giveplayer); SCM(playerid, COLOR_LIGHTBLUE, string); GivePlayerMoney(suspect, -moneys); format(string, sizeof(string), "arrested by %s ~n~ for $%d", sendername, moneys); GameTextForPlayer(suspect, string, 5000, 5); ResetPlayerWeapons(suspect); if(PlayerInfo[playerid][pMember]==1||PlayerInfo[playerid][pLeader]==1) { format(string, sizeof(string), "<< Officer %s arrested suspect %s >>", sendername, giveplayer); OOCNews(COLOR_LIGHTRED, string); } else if(PlayerInfo[playerid][pMember]==2||PlayerInfo[playerid][pLeader]==2) { format(string, sizeof(string), "<< FBI Agent %s arrested suspect %s >>", sendername, giveplayer); OOCNews(COLOR_LIGHTRED, string); } else if(PlayerInfo[playerid][pMember]==3||PlayerInfo[playerid][pLeader]==3) { format(string, sizeof(string), "<< Soldier %s arrested suspect %s >>", sendername, giveplayer); OOCNews(COLOR_LIGHTRED, string); } SetPlayerWantedLevel(giveplayerid, 0); SetPlayerInterior(suspect, 5); SetPlayerPos(suspect,322.9037,305.5694,999.1484); PlayerInfo[suspect][pJailTime] = time * 60; if(bail == 1) { JailPrice[suspect] = bailprice; format(string, sizeof(string), "You are jailed for %d seconds. Bail: $%d", PlayerInfo[suspect][pJailTime], JailPrice[suspect]); SCM(suspect, COLOR_LIGHTBLUE, string); } else { JailPrice[suspect] = 0; format(string, sizeof(string), "You are jailed for %d seconds. Bail: Unable", PlayerInfo[suspect][pJailTime]); SCM(suspect, COLOR_LIGHTBLUE, string); } PlayerInfo[suspect][pJailed] = 1; PlayerInfo[suspect][pArrested] += 1; SetPlayerFree(suspect,playerid, "Got Arrested"); WantedPoints[suspect] = 0; WantedLevel[suspect] = 0; WantLawyer[suspect] = 1; }//distance }//not connected else { SCM(playerid, COLOR_GREY, " No-one close enough to arrest."); return 1; } } else { SCM(playerid, COLOR_GREY, " You are not a Cop / FBI / National Guard !"); return 1; } }//not connected return 1; }
  5. Cauta in GM scrisul ala si sterge sau ce functie ai tu in gm., banuiesc ca ai gm indungi ca numai acolo gasesti scris de asta.
  6. Adauga Dini in pawno/include.
  7. Adevarat dar ai uitat sa pronunti ca de pe culoare albastru se leaga "batul" ala.
  8. Lasal Sice ca mea dat o ideie sa mai fac inca un FS.Multumesc.
  9. Frumos dar ii RP-EDIT.
  10. RuSkeAdmin System Beta Ce Contine: -este un sistem de admini cu 27 de comenzi. -are 4 levele de admin. -foloseste dini si sscanf Comenzi Admini if(strcmp(cmd, "/adminhelp", true) == 0 || strcmp(cmd, "/ah", true) == 0) { if(IsPlayerConnected(playerid)) { SendClientMessage(playerid, 0x33CCFFAA,"|_________________________[Admin Commands]____________________|"); if (PlayerInfo[playerid][pAdmin] >= 1) { SendClientMessage(playerid, COLOR_WHITE, "{FF0000}Level 1{FFFFFF} /kick , /slap , /mute , /unmute , /disarm , /spec "); } if (PlayerInfo[playerid][pAdmin] >= 2) { SendClientMessage(playerid, COLOR_LIGHTBLUE,"{FF0000}Level 2{FFFFFF} /unjail , /freeze , /unfreeze , /up , /setint , /skydive , /down"); } if (PlayerInfo[playerid][pAdmin] >= 3) { SendClientMessage(playerid, COLOR_WHITE,"{FF0000}Level 3{FFFFFF} /ban , /goto , gethere , /unbanip , /spawn "); } if (PlayerInfo[playerid][pAdmin] >= 4) { SendClientMessage(playerid, COLOR_LIGHTBLUE,"{FF0000}Level 4{FFFFFF} /explode , healall , setarmor , /restart , /givegun /setstat"); } SendClientMessage(playerid, 0x33CCFFAA,"|______________________[Admin Commands]__________________________|"); } return 1; } Download: http://solidfiles.com/d/948494e000/
  11. 4/5 dar pune si creatiile pe forumca degeaba ai pus pozele. ;)
  12. 4/5 continua tot asa
  13. mioveni rpg ;)
  14. Deci am luat Fs lui Im_bank am facut tot ce zice el dar cand vreau sa intru in masina sa dau /v buy nu imi apare sa scriu /v buy si daca dau engine pot sa merg cu ea cum pot sa rezolv problema asta.
  15. 8/10 chiar imi place asa asa.
  16. Diabolik

    Jump Zone

    Si eu iti dau 9.5/10 , bravo.
  17. Diabolik

    LSPD Exterior

    Nu merg copacii aia pe acolo dar 4/5 ;)
  18. II facut de mine scriptul de aia postez aici. public OnPlayerConnect(playerid) { PlayerInfo[playerid][pRdeath] = 0; }
  19. ShowPlayerMarkers(numar); 0 -> fals, nu ii arata 1 -> adevarat, ii arata pe toti 2 -> ii arata pe cei de langa tine Comanda /aod: if(strcmp(cmd, "/aod", true) == 0) { if (PlayerInfo[playerid][pAdmin] >= 1) { if(AdminDuty[playerid] == 1) { GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "[Admin Info] %s [ID:%d] is no longer on duty as an admin.", sendername,playerid); SendClientMessageToAll(COLOR_DBLUE,string); AdminDuty[playerid] = 0; SetPlayerHealth(playerid,100); SetPlayerArmour(playerid,0); SetPlayerToTeamColor(playerid); } else { GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "[Admin Info] %s [ID:%d] is now on duty as an admin.Please /w him if you need help.",sendername,playerid); SendClientMessageToAll(0xFAAFBEFF,string); AdminDuty[playerid] = 1; SetPlayerHealth(playerid,99999); SetPlayerArmour(playerid,99999); SetPlayerColor(playerid,0xFAAFBEFF); for(new i = 0; i < MAX_PLAYERS; i ++) { if(IsPlayerConnected(i)) { SetPlayerMarkerForPlayer( i,playerid,0xFAAFBEFF ); } } } } else { SendClientMessage(playerid,COLOR_GREY,"Your not an admin !"); } return 1; }
  20. Frumos 10/10. ;)
  21. Deci cand dau compilare la fs imi da eroriile astea: C:\Documents and Settings\BogdaneL\My Documents\Downloads\Mioveni-RPG\filterscripts\Bowling.pwn(34) : warning 215: expression has no effect C:\Documents and Settings\BogdaneL\My Documents\Downloads\Mioveni-RPG\filterscripts\Bowling.pwn(34) : error 001: expected token: ";", but found "[" C:\Documents and Settings\BogdaneL\My Documents\Downloads\Mioveni-RPG\filterscripts\Bowling.pwn(34) : error 029: invalid expression, assumed zero C:\Documents and Settings\BogdaneL\My Documents\Downloads\Mioveni-RPG\filterscripts\Bowling.pwn(34) : warning 215: expression has no effect C:\Documents and Settings\BogdaneL\My Documents\Downloads\Mioveni-RPG\filterscripts\Bowling.pwn(34) : error 001: expected token: ";", but found "]" C:\Documents and Settings\BogdaneL\My Documents\Downloads\Mioveni-RPG\filterscripts\Bowling.pwn(34) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 4 Errors. Linia 34: PlayerInfo[playerid][pRdeath] = 0; Ce trebuie sa fac sa nu imi mai da erorile?
  22. Iti recomand sa iti ei host.
  23. Bun tutorial. 5/5
  24. Uite un tutorial cum se face un port forward : http://www.sa-mp.ro/forum/index.php/topic,8015.0.html
×
×
  • 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.