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



Comando - Yuri_xD - 14.11.2012

o comando do pedagio n esta funcionando alguem pode ajudar ??

Quote:

if(strcmp(cmd, "/pagarpedagio", true) == 0)
{
if(PlayerInfo[playerid][pLevel] > 1 && PlayerToPoint(15.0, playerid,
980,49.400001525879,-1523.1999511719,6.9000000953674))
{ //Portoes pedagio
GivePlayerMoney(playerid,-100);
MoveObject( Portaopd, 49.400001525879,-1523.1999511719,1.3000094890594,3,0.0,0.0,264);
GameTextForPlayer(playerid, "~w~Pedagio Pago", 5000, 3);
SetTimer("Portaopd2", 5000, false);
SendClientMessage(playerid, TEAM_BALLAS_COLOR, "O Portгo Fecharб em 5 segundos.");
}
return true;
}




Re: Comando - FeelLikeASir_ - 14.11.2012

Totalmente ou sу nгo esta movendo o portгo ?


Re: Comando - Yuri_xD - 15.11.2012

eu digito o comando e n acontece nada