Jump to content

[XSR]NexT

V.I.P
  • Posts

    849
  • Joined

  • Last visited

  • Days Won

    10

Everything posted by [XSR]NexT

  1. [XSR]NexT

    Ajutor

    Poate sunt in alt virtual world ?
  2. [XSR]NexT

    Culori Pawno

    Astea-as culori HTML nu neaparat pawno )
  3. Iti lipseste variabila PlayerMissioned
  4. [XSR]NexT

    Oras

    San Fierro sau Las Venturas.
  5. Pune GetPlayerName(i, sendername, sizeof(sendername)); sub "for new .......................
  6. Cate topicuri faci ?
  7. Sterge #endif ala
  8. Asta nu este o problema. T/C
  9. Sa stii ca stiu eu cum e baza aia de date etc, noi doar te ajutam la erori etc, nu vad sa fi incercat ceva. T/C.
  10. if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 403) { if(PetrolJob[playerid] == 1){ PetrolJob[playerid] = 2; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,1003.4263,-941.8485,41.8079,10); return 1; } if(PetrolJob[playerid] == 2){ PetrolJob[playerid] = 3; DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,-97.8173,-1166.7585,2.2650,10); return 1; } if(PetrolJob[playerid] == 3){ PetrolJob[playerid] = 0; DisablePlayerCheckpoint(playerid); SendClientMessage(playerid,COLOR_YELLOW,"* You have recieved $12000 for delivering the petrol."); GivePlayerCash(playerid,12000); } }
  11. case 1: DialogPadurarJobMethod: Dialog_PadurarSelectJobMethod(playerid, response, listitem); // The work-dialog for truckers (shows the loads he can carry and lets the player choose the load) case 2: DialogPadurarSelectLoad: Dialog_PadurarSelectLoad(playerid, response, listitem); // The load-selection dialog for truckers (shows the startlocations for the selected load and let the player choose his startlocation) case 3: DialogPadurarStartLoc: Dialog_TruckerSelectStartLoc(playerid, response, listitem); // The start-location dialog for truckers (shows the endlocations for the selected load and let the player choose his endlocation) case 4: DialogPadurarEndLoc: Dialog_TruckerSelectEndLoc(playerid, response, listitem); // The end-location dialog for truckers (processes the selected endlocation and starts the job)
  12. [XSR]NexT

    Problema

    Si ce nu-ti apare?
  13. [XSR]NexT

    Problema.

    Acum iti arde de un spatiu ?
  14. Eu am modificat ASts[playerid][AWarns] in ASts[giveplayerid1][AWarns] acolo unde le verifica.
  15. Tu acolo alegeai pentru playerid, dar trebuia giveplayerid1 care e tinta intr-un fel. CMD:setadminwarn(playerid, params[]) { if(IsPlayerAdmin(playerid)) { new string[128], userid; //---------------------------------------------------------------------- if(sscanf(params, "ud", giveplayerid1, amount2)) return SendClientMessage(playerid, orange, "Usage : /SetAdminWarn [Playerid] [AWarns]") && SendClientMessage(playerid, LIGHTBLUE2, "Function: Will set the Admin Warns of a specified player!"); //---------------------------------------------------------------------- else if(giveplayerid1 == INVALID_PLAYER_ID) return SendClientMessage(playerid, red, "ERROR: Player not connected!"); //---------------------------------------------------------------------- else { SendCommandToAdmins(playerid, "SetAWarns"); format(string, 128, "|- RCON \"%s\" has gived you +1 WARN to Admin", PlayerName2(playerid)); SendClientMessage(giveplayerid1, blue, string); format(string, 128, "You have succesfully setted %s AWarns to %d!", PlayerName2(giveplayerid1), amount2); SendClientMessage(playerid, 0x00BBF6AA, string); format(string, 128, "*** RCON %s has Setted %s the ammount of AWarns to %d!", PlayerName2(playerid), PlayerName2(giveplayerid1), amount2); SaveIn("AdminLog", string); ASts[giveplayerid1][AWarns] = amount2; } if(ASts[giveplayerid1][AWarns] < 3) { new AVW[20]; userid = BUD::GetNameUID(PlayerName2(giveplayerid1)); format(AVW, 20, "%d/%d", ASts[giveplayerid1][AWarns], AccInfo[giveplayerid1][pVWarns]); BUD::SetStringEntry(userid, "AdmVipWarns", AVW, 20); } else if(ASts[giveplayerid1][AWarns] >= 3) { AccInfo[giveplayerid1][Level] = 0; userid = BUD::GetNameUID(PlayerName2(giveplayerid1)); BUD::SetIntEntry(userid, "Admin", 0); BUD::SetIntEntry(userid, "AdmWarns", 0); } return 1; } else return SendClientMessage(playerid, red, "ERROR: Only RCON Admins can use that command!"); }
  16. [XSR]NexT

    Problema GPS

    Da normal ca ai, si daca normal ca ai de ce nu ti-ai dat seama care-i problema? Incearca asa : if(strcmp(cmd,"/gps",true)==0) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pGPS] > 0) { new gpsstring[1800]; strcat(gpsstring,"{00BC00}0. {F6F6F6}Primarie\n{00BC00}1. {F6F6F6}Banca LS\n{00BC00}2. {F6F6F6}Discheta LS\n{00BC00}3. {F6F6F6}Discheta SF\n{00BC00}4. {F6F6F6}Discheta LV\n{00BC00}5. {F6F6F6}24/7 Central\n{00BC00}6. {F6F6F6}LSPD"); strcat(gpsstring,"\n{00BC00}7. {F6F6F6}SFPD\n{00BC00}8. {F6F6F6}LVPD\n{00BC00}9. {F6F6F6}Aeroport LS\n{00BC00}10. {F6F6F6}Aeroport SF\n{00BC00}11. {F6F6F6}Aeroport LV\n{00BC00}12. {F6F6F6}Aeroport parasit\n{00BC00}13. {F6F6F6}Gun shop Los Santos\n{00BC00}14. {F6F6F6}Gun shop San Fierro"); strcat(gpsstring,"\n{00BC00}15. {F6F6F6}Binco LS - /clothes\n{00BC00}16. {F6F6F6}Materials shop\n{00BC00}17. {F6F6F6}Materials get\n{00BC00}18. {F6F6F6}Materials deliver\n{00BC00}19. {F6F6F6}Rent Car LS"); strcat(gpsstring,"\n{00BC00}20. {F6F6F6}Rent Car SF\n{00BC00}21. {F6F6F6}Job Trucker\n{00BC00}22. {F6F6F6}Job Farmer\n{00BC00}23. {F6F6F6}Job Garbage Collector\n{00BC00}24. {F6F6F6}Job Arms Dealer\n{00BC00}25. {F6F6F6}Job Drugs Dealer\n{00BC00}26. {F6F6F6}Job Car Dealer"); strcat(gpsstring,"\n{00BC00}27. {F6F6F6}Job Bus Driver\n{00BC00}28. {F6F6F6}Job Car Jacker\n{00BC00}29. {F6F6F6}Job Bodyguard\n{00BC00}30. {F6F6F6}Job Paperboy\n{00BC00}31. {F6F6F6}Job Mechanic\n{00BC00}32. {F6F6F6}Job Whore\n{00BC00}33. {F6F6F6}Job Boxer\n{00BC00}34. {F6F6F6}Job Lawyer"); ShowPlayerDialog(playerid, 350, DIALOG_STYLE_LIST, "{DC0C0C}NEXTGAMES {F6F6F6}GPS", gpsstring, "Alege", "Iesi"); SendClientMessage(playerid, -1, " "); SendClientMessage(playerid, COLOR_WHITE, "{00BC00}GPS: {FFFFFF}Alege locatia..."); } } return 1; }
  17. [XSR]NexT

    Problema GPS

    Nu, nu ma refer ca ai de 2 ori string[1800] ai de 2 ori string cauta in gm new string fara 1800 si o sa vezi ca-l ai de mai multe ori.
  18. De parca voi stiati sa faceti un textdraw, pun pariu ca nici nu stiati ce e ala si acum va luati de cei care macar incearca sa faca ceva ?..
  19. [XSR]NexT

    Problema GPS

    Ai definit iar new string[1800];
  20. Modifica stringul 256 cu 1024.
  21. Nu mai face 2xpost de unde vrei sa iti rezolvam noi daca nu stim pe ce functioneaza serveru tau? Stiu eu cum se numeste variabila benzinei ? Stiu eu ce ... mai ai tu in server ? Nu toate serverele au acelas lucru.
  22. Acolo scrie (24) eu ti-am mai spus intr-un post ceva dar am impresia ca ai problema cu ochii...
  23. [XSR]NexT

    Problema

    Incearca asta [download]http://code.google.com/p/samp-streamer-plugin/downloads/detail?name=streamer_plugin_v2_6_1_r84.zip&can=2&q=[/download]
×
×
  • 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.