[Ajuda] RemovePlayerFromVehicleEx(playerid); - 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] RemovePlayerFromVehicleEx(playerid); (
/showthread.php?tid=431512)
RemovePlayerFromVehicleEx(playerid); -
Gutierrez_zikaloko - 18.04.2013
Como Troco RemovePlayerFromVehicleEx(playerid); , por aquele q o player nem chega a entrar no carro.
Respuesta: RemovePlayerFromVehicleEx(playerid); -
Parka - 18.04.2013
pawn Код:
RemovePlayerFromVehicle(playerid);
RemovePlayerFromVehicle
Re: RemovePlayerFromVehicleEx(playerid); -
smiiir - 18.04.2013
GetPlayerPos // Use quando o player apertar enter perto do veiculo
SetPlayerPos // Use depois que o player apertar o enter para entrar no veiculo
Re: RemovePlayerFromVehicleEx(playerid); -
Gutierrez_zikaloko - 19.04.2013
Quote:
Originally Posted by iSmirnoff
GetPlayerPos // Use quando o player apertar enter perto do veiculo
SetPlayerPos // Use depois que o player apertar o enter para entrar no veiculo
|
isso seria no /entrar e no /sair?
Re: RemovePlayerFromVehicleEx(playerid); -
smiiir - 19.04.2013
Mande a funзгo que aparece " Vocк nгo й da Org Tal "
Re: RemovePlayerFromVehicleEx(playerid); -
Gutierrez_zikaloko - 19.04.2013
pawn Код:
else if(IsAGrooveCar(newcar))
{
if(!IsAGroove(playerid))
{
SendClientMessage(playerid, COR_GRO, "Vocк nгo й da Groove Street, por isso nгo tem a chave desse veнculo!");
RemovePlayerFromVehicle(playerid);
}
}
Re: RemovePlayerFromVehicleEx(playerid); -
Schocc - 19.04.2013
Faзa isso em OnPlayerEnterVehicle e use um retorno.
Re: RemovePlayerFromVehicleEx(playerid); -
telmo_ferreira - 19.04.2013
usa ClearAnimations(playerid) dentro da callback OnPlayerEnterVehicle
Re: RemovePlayerFromVehicleEx(playerid); -
smiiir - 19.04.2013
pawn Код:
public OnPlayerEnterVehicle ( playerid, vehicleid, ispassenger )
{
new Float:Pos [ 3 ] ;
if ( IsAGrooveCar ( vehicleid ) && !ispassenger )
{
if ( !IsAGroove ( playerid ) )
{
SendClientMessage(playerid, COLOR_GREY, "[ ERRO ]: Vocк nгo й um membro da Groove Street" ) ;
GetPlayerPos ( playerid, Pos [ 0 ], Pos [ 1 ], Pos [ 2 ] ) ;
SetPlayerPos ( playerid, Pos [ 0 ], Pos [ 1 ], Pos [ 2 ] ) ;
}
}
return 1;
}
Agora й sу ir completando criando de outras orgs
Re: RemovePlayerFromVehicleEx(playerid); -
Gutierrez_zikaloko - 19.04.2013
Porra iSmirnoff, vlw cara , deu certo