01.06.2009, 18:08
This function doesn't work, is there a way to simple make the player leave the vehicle, could be with no anim. Thanks.
stock RemovePlayerFromVehicleEx(playerid)
{
if(!IsPlayerConnected(playerid)) return 0;
if(GetPlayerState(playerid)==PLAYER_STATE_DRIVER||GetPlayerState(playerid)==PLAYER_STATE_PASSENGER&&IsPlayerInAnyVehicle(playerid))
{
new Float:x,Float:y,Float:z;
GetPlayerPos(playerid,x,y,z);
SetPlayerPos(playerid,x,y,z+2);
return 1;
}
}
Originally Posted by lol2112
Who told you it didn't work?
|
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_NONE);
Originally Posted by Blacklite
pawn Код:
|
Originally Posted by eXchainZ-FoReVeR
Nope.. Works perefectly..
|