Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×

Recommended Posts

Posted

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

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

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

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

Posted
Just now, DaEdRiC-FoX said:

eram bun de mic :)))

=))))))))))))))))))))))))))))))))))))))))))) 

Retras

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

 

Posted
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

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

Posted

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!

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.