SA-MP Forums Archive
[Ajuda] /Neon - 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: [Ajuda] /Neon (/showthread.php?tid=339069)



[Ajuda] /Neon - Carlos_barbosa - 02.05.2012

Bom pessoal puis um sistema de neon no meu Servidor e tals so que quando digito /neon pareзe la a frase vocк nгo esta no ponte de neon-Gps atй ai tudo bem dai eu fis um if(!PlayerToPoint para digita o cmd nessa cordenada mais dai quando chego na cordenada que esta digitando /neon nгo parece nada ,Logo abaixo o Code

if(strcmp(cmd, "/neon", true) == 0)
{
if(!PlayerToPoint(10.0,playerid, 749.3066,-582.2038,17.2366)) return SendClientMessage(playerid, COLOR_GRAD2, " Vocк Nгo Estб No Ponto de Neon - Use /GPS");
if(PlayerInfo[playerid][pSocio] < 1)
{
if(IsPlayerInAnyVehicle(playerid))
{
ShowPlayerDialog(playerid, 8899, DIALOG_STYLE_LIST, "Neons:", "Azul\nVermelho\nVerde\nBranco\nRosa\nAmarelo\nRem over todos os Neons", "Selecionar", "Cancelar");
PlayerPlaySound(playerid, 1133, 0.0, 0.0, 10.0);
}
else
{
SendClientMessage(playerid, COLOR_WHITE,"Vocк nгo estб em um veнculo");
}
}
return true;
}


Ajudando dou um +


Re: [Ajuda] /Neon - Trigo - 02.05.2012

tente assim
pawn Код:
if(strcmp(cmdtext, "/neon", true) == 0)
{
if(!PlayerToPoint(10.0,playerid, 749.3066,-582.2038,17.2366)) return SendClientMessage(playerid, COLOR_GRAD2, " Vocк Nгo Estб No Ponto de Neon - Use /GPS");
if(PlayerInfo[playerid][pSocio] < 1)
{
if(IsPlayerInAnyVehicle(playerid))
{
ShowPlayerDialog(playerid, 8899, DIALOG_STYLE_LIST, "Neons:", "Azul\nVermelho\nVerde\nBranco\nRosa\nAmarelo\nRem over todos os Neons", "Selecionar", "Cancelar");
PlayerPlaySound(playerid, 1133, 0.0, 0.0, 10.0);
}
else
{
SendClientMessage(playerid, COLOR_WHITE,"Vocк nгo estб em um veнculo");
}
}
return true;
}
Ve se й por causa disso ai q eu mudei...

c nao der avisa ^^


Re: [Ajuda] /Neon - Lucas_Alemao - 02.05.2012

vc quer q sу socios possa usar ou sу nгo socios?

vc tem q ver isso
pawn Код:
if(PlayerInfo[playerid][pSocio] < 1)



Re: [Ajuda] /Neon - Carlos_barbosa - 02.05.2012

entгo Lucas alemao so sуcios


Re: [Ajuda] /Neon - Carlos_barbosa - 02.05.2012

й trigo o seu nгo deu vei

mais vamo tentando UHAUHA to tentando aqe


Re: [Ajuda] /Neon - zbt - 02.05.2012

Quote:
Originally Posted by Carlos_barbosa
Посмотреть сообщение
entгo Lucas alemao so sуcios
entгo coloque if(PlayerInfo[playerid][pSocio] > 0)


Re: [Ajuda] /Neon - Carlos_barbosa - 02.05.2012

Ae Brigadгo quem tento ajuda e tals,jб consegui um jeito aqe deu certo pego