19.07.2010, 20:03
pawn Код:
if (strcmp("/sit", cmdtext, true, 10) == 0)
{
if(!IsPlayerInAnyVehicle(playerid))
{
ApplyAnimation (playerid, "PED", "SEAT_IDLE",1,1,1,1,0,0);
}
else
{
SendClientMessage (playerid,0xFF6347AA,"Get out of the vehicle first.");
}
return 1;
}