18.04.2013, 17:57
Como Troco RemovePlayerFromVehicleEx(playerid); , por aquele q o player nem chega a entrar no carro.
RemovePlayerFromVehicle(playerid);
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);
}
}
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;
}