Daedric-Fox Posted July 22, 2015 Posted July 22, 2015 Descriere tutorial: as dori un totrial cum sa fac un textdraw care arata checkpointurile de la dmv, tin sa mentionez ca am gasit alte tutorial pe forum, dar la mine sunt cu case adica asa: DisablePlayerCheckpoint(playerid); switch(DMVCheckpoint[playerid]) { case 1: SetPlayerCheckpoint(playerid, 919.6411, -1487.5270, 13.4656, 5.0); case 2: SetPlayerCheckpoint(playerid, 919.8101, -1354.0464, 13.2831, 5.0); case 3: SetPlayerCheckpoint(playerid, 919.8101, -1354.0464, 13.2831, 5.0); case 4: SetPlayerCheckpoint(playerid, 881.8291, -1321.7100, 13.6602, 5.0); case 5: SetPlayerCheckpoint(playerid, 732.3776, -1316.2760, 13.4840, 5.0); case 6: SetPlayerCheckpoint(playerid, 636.0119, -1294.8287, 14.9896, 5.0); case 7: SetPlayerCheckpoint(playerid, 590.5417, -1222.1847, 17.9030, 5.0); case 8: SetPlayerCheckpoint(playerid, 187.7140, -1497.6492, 12.6371, 5.0); case 9: SetPlayerCheckpoint(playerid, 195.1679, -1525.3085, 13.3437, 5.0); case 10: SetPlayerCheckpoint(playerid, 304.0753, -1484.3490, 32.9891, 5.0); case 11: SetPlayerCheckpoint(playerid, 396.5493, -1423.1467, 33.8726, 5.0); case 12: SetPlayerCheckpoint(playerid, 452.5795, -1458.2029, 28.8690, 5.0); case 13: SetPlayerCheckpoint(playerid, 625.2048, -1419.8362, 13.6259, 5.0); case 14: SetPlayerCheckpoint(playerid, 650.4113, -1588.8108, 15.4165, 5.0); case 15: SetPlayerCheckpoint(playerid, 849.6292, -1604.8254, 13.4752, 5.0); case 16: SetPlayerCheckpoint(playerid, 915.2281, -1588.2057, 13.4751, 5.0); case 17: SetPlayerCheckpoint(playerid, 942.9560, -1756.2139, 13.6392, 5.0); } Va rog frumos...urgent.... ********************************** Servicii Scripting de calitate: ********************************* Future Project: ExpertGame *********************************
Kingsley Posted January 24, 2017 Posted January 24, 2017 @DaEdRiC-FoX erai n00b pe atunci, dar lucrai optimizat :)))))))) imi plake [ce amintiri...] Retras
Daedric-Fox Posted January 24, 2017 Author Posted January 24, 2017 1 minute ago, Tud0r. said: @DaEdRiC-FoX erai n00b pe atunci, dar lucrai optimizat :)))))))) imi plake [ce amintiri...] eram bun de mic :))) ********************************** Servicii Scripting de calitate: ********************************* Future Project: ExpertGame *********************************
Kingsley Posted January 24, 2017 Posted January 24, 2017 Just now, DaEdRiC-FoX said: eram bun de mic :))) =))))))))))))))))))))))))))))))))))))))))))) Retras
BuNiCu-RP Posted January 25, 2017 Posted January 25, 2017 DisablePlayerCheckpoint(playerid); switch(DMVCheckpoint[playerid]) { case 1: { DisablePlayerCheckpoint(playerid); CPDMV[playerid] ++; SetPlayerCheckpoint(playerid, 919.6411, -1487.5270, 13.4656, 5.0); } case 2: SetPlayerCheckpoint(playerid, 919.8101, -1354.0464, 13.2831, 5.0); case 3: SetPlayerCheckpoint(playerid, 919.8101, -1354.0464, 13.2831, 5.0); case 4: SetPlayerCheckpoint(playerid, 881.8291, -1321.7100, 13.6602, 5.0); case 5: SetPlayerCheckpoint(playerid, 732.3776, -1316.2760, 13.4840, 5.0); case 6: SetPlayerCheckpoint(playerid, 636.0119, -1294.8287, 14.9896, 5.0); case 7: SetPlayerCheckpoint(playerid, 590.5417, -1222.1847, 17.9030, 5.0); case 8: SetPlayerCheckpoint(playerid, 187.7140, -1497.6492, 12.6371, 5.0); case 9: SetPlayerCheckpoint(playerid, 195.1679, -1525.3085, 13.3437, 5.0); case 10: SetPlayerCheckpoint(playerid, 304.0753, -1484.3490, 32.9891, 5.0); case 11: SetPlayerCheckpoint(playerid, 396.5493, -1423.1467, 33.8726, 5.0); case 12: SetPlayerCheckpoint(playerid, 452.5795, -1458.2029, 28.8690, 5.0); case 13: SetPlayerCheckpoint(playerid, 625.2048, -1419.8362, 13.6259, 5.0); case 14: SetPlayerCheckpoint(playerid, 650.4113, -1588.8108, 15.4165, 5.0); case 15: SetPlayerCheckpoint(playerid, 849.6292, -1604.8254, 13.4752, 5.0); case 16: SetPlayerCheckpoint(playerid, 915.2281, -1588.2057, 13.4751, 5.0); case 17: { DisablePlayerCheckpoint(playerid); CPDMV[playerid] ++; SetPlayerCheckpoint(playerid, 942.9560, -1756.2139, 13.6392, 5.0); } }
Daedric-Fox Posted January 25, 2017 Author Posted January 25, 2017 5 minutes ago, BuNiCu-RP said: DisablePlayerCheckpoint(playerid); switch(DMVCheckpoint[playerid]) { case 1: { DisablePlayerCheckpoint(playerid); CPDMV[playerid] ++; SetPlayerCheckpoint(playerid, 919.6411, -1487.5270, 13.4656, 5.0); } case 2: SetPlayerCheckpoint(playerid, 919.8101, -1354.0464, 13.2831, 5.0); case 3: SetPlayerCheckpoint(playerid, 919.8101, -1354.0464, 13.2831, 5.0); case 4: SetPlayerCheckpoint(playerid, 881.8291, -1321.7100, 13.6602, 5.0); case 5: SetPlayerCheckpoint(playerid, 732.3776, -1316.2760, 13.4840, 5.0); case 6: SetPlayerCheckpoint(playerid, 636.0119, -1294.8287, 14.9896, 5.0); case 7: SetPlayerCheckpoint(playerid, 590.5417, -1222.1847, 17.9030, 5.0); case 8: SetPlayerCheckpoint(playerid, 187.7140, -1497.6492, 12.6371, 5.0); case 9: SetPlayerCheckpoint(playerid, 195.1679, -1525.3085, 13.3437, 5.0); case 10: SetPlayerCheckpoint(playerid, 304.0753, -1484.3490, 32.9891, 5.0); case 11: SetPlayerCheckpoint(playerid, 396.5493, -1423.1467, 33.8726, 5.0); case 12: SetPlayerCheckpoint(playerid, 452.5795, -1458.2029, 28.8690, 5.0); case 13: SetPlayerCheckpoint(playerid, 625.2048, -1419.8362, 13.6259, 5.0); case 14: SetPlayerCheckpoint(playerid, 650.4113, -1588.8108, 15.4165, 5.0); case 15: SetPlayerCheckpoint(playerid, 849.6292, -1604.8254, 13.4752, 5.0); case 16: SetPlayerCheckpoint(playerid, 915.2281, -1588.2057, 13.4751, 5.0); case 17: { DisablePlayerCheckpoint(playerid); CPDMV[playerid] ++; SetPlayerCheckpoint(playerid, 942.9560, -1756.2139, 13.6392, 5.0); } } crede.ma chiar nu aveam nevoie, acest topic eate din anul 2015, pe vreamea cand eram începător plus de asta, acea variabila trebuia incarcata la fiecare case, nu doar la primul și ultimul. ********************************** Servicii Scripting de calitate: ********************************* Future Project: ExpertGame *********************************
Kidro Posted January 26, 2017 Posted January 26, 2017 Buna seara! Am si eu nevoie de ajutor daca se poate, nu stiu ce s-a intamplat dar am urcat gm-ul meu pe un host si imi tot dadea unknown mode, bun am rezolvat dar acum imi pune serverul pe offline dar nu e din cauza la server.cfg.. Asta imi zice Failed (libmysqlclient.so.18: cannot open shared object file: No such file or directory) am incercat sa caut pe google dar nu am gasit nimic. Multumesc, sper sa ma ajutati!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now