11.10.2011, 16:51
So you want to disable the commands when youre in a chasecar?
if so:
That basicly checks the vehicle of the current player, and compares it to the ChaseCarVariabe, and if they compare, it will show him the message and stops the command.
if so:
pawn Код:
if( GetPlayerVehicleID(playerid) == ChaseCarVariableHere || GetPlayerVehicleID(playerid) == ChaseCarVariableHere2 ) return SendClientMessage(playerid, -1, "You cant perform this while youre driving a chase car!");