Jump to content

Checkpoints DMV


Daedric-Fox

Recommended Posts

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....

image.jpg

**********************************

Servicii Scripting de calitate:

*********************************

Future Project: ExpertGame

*********************************

Link to comment
Share on other sites

  • 1 year later...
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

*********************************

Link to comment
Share on other sites

	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);
	}
    }

 

Link to comment
Share on other sites

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

*********************************

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.