14.01.2012, 13:03
pawn Code:
if(vteam[GetPlayerVehicleID(playerid)] == 1) {
if(PlayerInfo[playerid][Fmember] == 1 || PlayerInfo[playerid][Fleader] == 1) SendClientMessage(playerid, 0x999999AA, "You started this police car!");
else {
if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER) {
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
SendClientMessage(playerid, 0x999999AA, "You don't have the key of this vehicle.");
}
}
}