[Pedido] Dois Pedido - 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] Dois Pedido (
/showthread.php?tid=334645)
[Pedido] Dois Pedido -
[NVC]Eduardo - 15.04.2012
Queria saber se tem como ter um teleport e speed, sem SORVETE e CLEO.
Sу para admin.
+rep
Re: [Pedido] Dois Pedido -
4LiSs0N - 15.04.2012
acho q й SetPlayerVelocity SetVehicleVelocity
Re: [Pedido] Dois Pedido -
Don_Speed - 15.04.2012
Se for so o teleporte
http://forum.sa-mp.com/showthread.ph...ight=Don_Speed
Re: [Pedido] Dois Pedido -
[NVC]Eduardo - 15.04.2012
Se puder posta algum FS que tenha sobre isso ficarei grato.
@Edit
Quote:
Originally Posted by Don_Speed
|
Tipo eu queria que marca-se no mapa e ia;
Re: [Pedido] Dois Pedido - rjjj - 15.04.2012
Para o teleporte ao marcar no mapa, coloque no
OnPlayerClickMap 
:
pawn Код:
SetPlayerPosFindZ(playerid, fX, fY, fZ);
E para o aumento de velocidade

:
https://sampforum.blast.hk/showthread.php?pid=1751705#pid1751705
Para restringir um cуdigo a administradores basta envolvк-lo nas chaves de um
if como este:
pawn Код:
if(IsPlayerAdmin(playerid))
{
//O cуdigo ficaria aqui.
}
Espero ter ajudado

.
Re: [Pedido] Dois Pedido -
[NVC]Eduardo - 15.04.2012
Coloquei assim e tals, sу que nгo vai a onde eu quero.
pawn Код:
public OnPlayerClickMap(playerid)
{
new Float:fX,Float:fY,Float:fZ;
SetPlayerPosFindZ(playerid, fX, fY, fZ);
return 1;
}
Re: [Pedido] Dois Pedido -
4LiSs0N - 15.04.2012
Nao Tem Aquele Fs com o Nome De Fsdebug ele serve para isso
Re: [Pedido] Dois Pedido -
dPlaYer_ - 15.04.2012
pawn Код:
public OnPlayerClickMap(playerid, Float:fX, Float:fY, Float:fZ)
{
if(!IsPlayerAdmin(playerid)) return 0;
SetPlayerPosFindZ(playerid, fX, fY, fZ);
return 1;
}
Re: [Pedido] Dois Pedido -
[NVC]Eduardo - 15.04.2012
Quote:
Originally Posted by [LF]PlaYer
pawn Код:
public OnPlayerClickMap(playerid, Float:fX, Float:fY, Float:fZ) { if(!IsPlayerAdmin(playerid)) return 0; SetPlayerPosFindZ(playerid, fX, fY, fZ); return 1; }
|
Tem como colocar para teleport com o veiculo?
Re: [Pedido] Dois Pedido -
4LiSs0N - 15.04.2012
Nao sei se da mais tenta
SetVehiclePosFindZ