17.07.2009, 19:13
How do i script it so i can do animations in Vehicles, any time i try do it it says you cannot do animations in cars
Originally Posted by ekeleke
show us your script
|
if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
{
// animation command.
}
else
{
// can't use anim. cmd.
}
if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER || GetPlayerState(playerid) != PLAYER_STATE_PASSENGER)
{
// animation command.
}
else
{
// can't use anim. cmd.
}