[Pedido] Profissхes random - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Pedido] Profissхes random (
/showthread.php?tid=572679)
Profissхes random -
Italoigt - 30.04.2015
galera eu ja criei os checks so falta o comando para carregar e descarregar alguйm pode me ajudar darei rap+ up up up
pawn Код:
new Float:cartas[10][3] = {
// 0 ( X ), 1 (Y ), 2 ( Z )
{-2041.2926,-2386.7451,30.1984}, // Linha 0 (1)
{-1571.7614,-2733.3157,48.1070}, // Linha 1 (2)
{-1656.7499,-2240.2173,31.2983}, // Linha 2 (3)
{21.9379,-2648.6987,40.0474}, // Linha 3 (4)
{-23.3117,-2506.0486,36.2155}, // Linha 4 (5)
{-1085.3257,-1645.5614,75.9392}, // Linha 5 (6)
{-2023.5060,157.5564,28.4007}, // Linha 6 (7)
{-2791.1409,-444.5565,7.2820}, // Linha 7 (8)
{-1705.8510,397.4526,6.7311}, // Linha 8 (9)
{-1881.1149,1388.2993,6.7540} // Linha 9 (10)
};
Re: Profissхes random -
GabrielDias_Invision - 01.05.2015
Mas oque vocК quer fazer com essas coordenadas?
Re: Profissхes random -
Italoigt - 01.05.2015
ai e so os checks para quando eu digitar o comandos /carregar vai escolher 1,e chegando la /descarregar
Re: Profissхes random -
GabrielDias_Invision - 01.05.2015
Estilo truck й? entendi, vc tem que criar uma random e 3 floats para salvar as coordenadas para o player. Qual processador de comandos vc usa? ZCMD,DCMD,YCMD,STRCMP...
Re: Profissхes random -
Dayvison_ - 01.05.2015
PHP код:
new rand = random(sizeof(cartas));
SetPlayerCheckPoint(playerid,cartas[rand][0],cartas[rand][1],cartas[rand][2],/*tamanho para tu definir*/);
Re: Profissхes random -
Italoigt - 01.05.2015
olha e esse aki q eu uso Strcmp
pawn Код:
if(strcmp(cmdtext,"COMANDO", true) == 0)