Jump to content

NEoNX

Membru
  • Posts

    48
  • Joined

  • Last visited

    Never

About NEoNX

  • Birthday 10/31/1998

NEoNX's Achievements

Enthusiast

Enthusiast (6/14)

  • First Post
  • Collaborator
  • Conversation Starter
  • Week One Done
  • One Month Later

Recent Badges

0

Reputation

  1. Pai cel mai usor mod este sa cauti War in gm , si incepi sa stergi . Eu asa fac deobicei ! Enjoy :)
  2. Nick:NEoNX Problema:Cand imi cumpar o masina , imi arata in /stats ca am cumparato , dar in cars.cfg nu apare . Erori / warnings:Nu am nimic .. Lini/script:Nu prea stiu ce as putea arata Ai incercat sa rezolvi singur ?:Da , ma chiunui de la 8 ..
  3. Vezi ca ai niste functii care au mai multe optiuni decat trebuie .
  4. Si cum ar trebui sa arate acea variabila ?
  5. Nick:NEoNX Problema:Nu pot sa salvez tunningu' la masina personala .. folosesc sistemul clasic cu cars.cfg Erori / warnings:- Lini/script:- Ai incercat sa rezolvi singur ?:Da ..
  6. Eu am pus timer-ul la OnPlayerConnect , si merge . Insa nu trebuie cu SetPlayerWantedLevel sau PlayerInfo[playerid][pWantedLevel] = etc . Trebuie pusa functia WantedLevel[playerid] -= 1; si va merge . Topic Closed
  7. Pai am incercat dupa cum mi-ati zis : [pawn]new WLD; forward WantedLevelDown(playerid); public WantedLevelDown(playerid) { if(GetPlayerWantedLevel(playerid) == 10) { PlayerInfo[playerid][pWantedLevel] = 9; SendClientMessage(playerid, COLOR_YELLOW, "Current Wanted Level: 9"); } else if(GetPlayerWantedLevel(playerid) == 9) { PlayerInfo[playerid][pWantedLevel] = 8; SendClientMessage(playerid, COLOR_YELLOW, "Current Wanted Level: 8"); } else if(GetPlayerWantedLevel(playerid) == 8) { PlayerInfo[playerid][pWantedLevel] = 7; SendClientMessage(playerid, COLOR_YELLOW, "Current Wanted Level: 7"); } else if(GetPlayerWantedLevel(playerid) == 7) { PlayerInfo[playerid][pWantedLevel] = 6; SendClientMessage(playerid, COLOR_YELLOW, "Current Wanted Level: 6"); } else if(GetPlayerWantedLevel(playerid) == 6) { PlayerInfo[playerid][pWantedLevel] = 5; SendClientMessage(playerid, COLOR_YELLOW, "Current Wanted Level: 5"); } else if(GetPlayerWantedLevel(playerid) == 5) { PlayerInfo[playerid][pWantedLevel] = 4; SendClientMessage(playerid, COLOR_YELLOW, "Current Wanted Level: 4"); } else if(GetPlayerWantedLevel(playerid) == 4) { PlayerInfo[playerid][pWantedLevel] = 3; SendClientMessage(playerid, COLOR_YELLOW, "Current Wanted Level: 3"); } else if(GetPlayerWantedLevel(playerid) == 3) { PlayerInfo[playerid][pWantedLevel] = 2; SendClientMessage(playerid, COLOR_YELLOW, "Current Wanted Level: 2"); } else if(GetPlayerWantedLevel(playerid) == 2) { PlayerInfo[playerid][pWantedLevel] = 1; SendClientMessage(playerid, COLOR_YELLOW, "Current Wanted Level: 1"); } else if(GetPlayerWantedLevel(playerid) == 1) { PlayerInfo[playerid][pWantedLevel] = 0; KillTimer(WLD); SendClientMessage(playerid, COLOR_YELLOW, "Current Wanted Level: 0"); } return 1; } WLD = SetTimer("WantedLevelDown", 120000, false);[/pawn] dar nu prea merge .. Am facut-o rau ?
  8. Nick:NEoNX Problema:As vrea sa stiu cum as putea sa fac un sistem care sa scada wanted-ul jucatorului la un interval de 2-3 minute . Erori / warnings:- Lini/script:- Ai incercat sa rezolvi singur ?:nu . acum mi-a venit ideea ..
  9. Hmm .. cauta cel mai sigur la OnPlayerConnect . Sau daca nu , daca ai sistemul de register/login pe dialog , cauta dialogul cu register si apoi la OnDialogResponse .
  10. [pawn]else if(MissionCheckpoint[playerid] > 0 && PlayMission[kToggle] == 1)//Missions + Checkpoint on toggle { RingTone[playerid] = 20; switch(MissionCheckpoint[playerid]) { case 1: { format(string, sizeof(string), "%s", PlayMission[kGText1]); GameTextForPlayer(playerid, string, 8000, 3); format(string, sizeof(string), "%s", PlayMission[kText4]); SendClientMessage(playerid, COLOR_YELLOW2, string); format(string, sizeof(string), "%s", PlayMission[kText5]); SendClientMessage(playerid, COLOR_YELLOW2, string); format(string, sizeof(string), "%s", PlayMission[kText6]); SendClientMessage(playerid, COLOR_YELLOW2, string); DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, PlayMission[kCP2][0], PlayMission[kCP2][1], PlayMission[kCP2][2], 8); MissionCheckpoint[playerid] = 2; } case 2: { format(string, sizeof(string), "%s", PlayMission[kGText2]); GameTextForPlayer(playerid, string, 8000, 3); format(string, sizeof(string), "%s", PlayMission[kText7]); SendClientMessage(playerid, COLOR_YELLOW2, string); format(string, sizeof(string), "%s", PlayMission[kText8]); SendClientMessage(playerid, COLOR_YELLOW2, string); format(string, sizeof(string), "%s", PlayMission[kText9]); SendClientMessage(playerid, COLOR_YELLOW2, string); DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, PlayMission[kCP3][0], PlayMission[kCP3][1], PlayMission[kCP3][2], 8); MissionCheckpoint[playerid] = 3; } case 3: { format(string, sizeof(string), "%s", PlayMission[kGText3]); GameTextForPlayer(playerid, string, 8000, 3); format(string, sizeof(string), "%s", PlayMission[kText10]); SendClientMessage(playerid, COLOR_YELLOW2, string); format(string, sizeof(string), "%s", PlayMission[kText11]); SendClientMessage(playerid, COLOR_YELLOW2, string); format(string, sizeof(string), "%s", PlayMission[kText12]); SendClientMessage(playerid, COLOR_YELLOW2, string); DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, PlayMission[kCP4][0], PlayMission[kCP4][1], PlayMission[kCP4][2], 8); MissionCheckpoint[playerid] = 4; } case 4: { format(string, sizeof(string), "%s", PlayMission[kGText4]); GameTextForPlayer(playerid, string, 8000, 3); format(string, sizeof(string), "%s", PlayMission[kText13]); SendClientMessage(playerid, COLOR_YELLOW2, string); format(string, sizeof(string), "%s", PlayMission[kText14]); SendClientMessage(playerid, COLOR_YELLOW2, string); format(string, sizeof(string), "%s", PlayMission[kText15]); SendClientMessage(playerid, COLOR_YELLOW2, string); DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, PlayMission[kCP5][0], PlayMission[kCP5][1], PlayMission[kCP5][2], 8); MissionCheckpoint[playerid] = 5; } case 5: { format(string, sizeof(string), "%s", PlayMission[kGText5]); GameTextForPlayer(playerid, string, 8000, 3); format(string, sizeof(string), "%s", PlayMission[kText16]); SendClientMessage(playerid, COLOR_YELLOW2, string); format(string, sizeof(string), "%s", PlayMission[kText17]); SendClientMessage(playerid, COLOR_YELLOW2, string); format(string, sizeof(string), "%s", PlayMission[kText18]); SendClientMessage(playerid, COLOR_YELLOW2, string); DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, PlayMission[kCP6][0], PlayMission[kCP6][1], PlayMission[kCP6][2], 8); MissionCheckpoint[playerid] = 6; } case 6: { format(string, sizeof(string), "%s", PlayMission[kGText6]); GameTextForPlayer(playerid, string, 8000, 3); format(string, sizeof(string), "..:: Mission Passed : %s | Reward received: $%d ::..", PlayMission[kTitle], PlayMission[kReward]); SendClientMessage(playerid, COLOR_GREEN, string); DisablePlayerCheckpoint(playerid); GivePlayerMoney(playerid, PlayMission[kReward]); PlayerInfo[playerid][pMissionNr] = PlayerOnMission[playerid]; MissionCheckpoint[playerid] = 0; PlayerOnMission[playerid] = 0; } } }[/pawn] @Gireada uite asta e la OnPlayerEnterCheckPoint .. @Sarpe sa stii ca nu e o idee rea . dar as vrea sa arate ca si pe alte servere ..
  11. Am si eu o problema cu sistemul de misiuni .. cand intru in primul checkpoint , dispare tot si e ca si cand nu am inceput misiunea .. ati mai patit ? cum as putea rezolva ?
  12. Am si eu o intrebare . Cum as putea face un top al playerilor care au cel mai mult scor ? Maxim 10 playeri ... Ma puteti ajuta ?
  13. Nu mai urlati la el degeaba ! Are un buguletz . Trebuie pus primul la linia : [pawn]filterscripts[/pawn] Pentru asi initializa casele . Apoi poate fi trecut al doilea sau nush cum aveti voi . :)
  14. Salutare Sa:Mp.ro...Am pus si eu un sistem de reaction test ( cine scrie primul ) intr-un fs.Totul bine pana aici.Dar in ladmin4v2 , la OnPlayerText am facut sa arate la chat daca e admin ,vip si blablabla. Dar daca un admin sau vip incearca sa castige acel test , scrie si nu se intampla nimic ... de ce ? Imi puteti da un sfat sau un ajutor , pentru ca stiu ca Echipa Sa:Mp.ro ma ajutat mereu.
×
×
  • 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.