Disable animations in vehicles
#9

Quote:
Originally Posted by Kar
Посмотреть сообщение
optimized

pawn Код:
if (strcmp("/sit", cmdtext, true, 10) == 0)
{
    if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage (playerid,0xFF6347AA,"Get out of the vehicle first.");
    else
    {
        ApplyAnimation (playerid, "PED", "SEAT_IDLE",1,1,1,1,0,0);
    }
    return 1;
}
That thing just reversed it all.
Now when i want to do an animation on foot it says i have to step out of my car and nothing more happens.
But when i'm in a car the animation starts on the command.

w/e i fixed it myself.
Swapped what's after return with what's after else
Reply


Messages In This Thread
Disable animations in vehicles - by RedFusion - 19.07.2010, 19:49
Re: Disable animations in vehicles - by Jay. - 19.07.2010, 19:51
Re: Disable animations in vehicles - by [XST]O_x - 19.07.2010, 19:51
Re: Disable animations in vehicles - by RedFusion - 19.07.2010, 20:02
Re: Disable animations in vehicles - by [XST]O_x - 19.07.2010, 20:03
Re: Disable animations in vehicles - by RedFusion - 19.07.2010, 20:09
Re: Disable animations in vehicles - by Kar - 19.07.2010, 20:09
Re: Disable animations in vehicles - by RedFusion - 19.07.2010, 21:06
Re: Disable animations in vehicles - by RedFusion - 19.07.2010, 21:12
Re: Disable animations in vehicles - by Kar - 19.07.2010, 21:19

Forum Jump:


Users browsing this thread: 3 Guest(s)