10.03.2012, 17:49
The problem was the bracket. You closed the bracket and inside there is the variable.
pawn Код:
if(newstate == PLAYER_STATE_DRIVER)
{
new newcar = GetPlayerVehicleID(playerid);
if(IsATaxicar(newcar))
{
if(PlayerInfo[playerid][pJob] == 2) RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid, COLOR_GREY,"You don't have keys of this car.");
return 1;
// Rest