18.06.2013, 01:57
pawn Код:
else if(!IsSultanVehicle(GetPlayerVehicleID(playerid)))return SendClientMessage (playerid, COLOR_YELLOW, "TEXT HERE!"); // <--------- Here is the first(1) Problem!
Код:
if(!IsSultanVehicle(GetPlayerVehicleID(playerid))) << over here. Take one bracket out, which will look like this.
pawn Код:
if(!IsSultanVehicle(GetPlayerVehicleID(playerid)) - after
if(!IsSultanVehicle(GetPlayerVehicleID(playerid))) - before
Delete one bracket.
pawn Код:
else if(!IsSultanVehicle(GetPlayerVehicleID(playerid)))return SendClientMessage (playerid, COLOR_YELLOW, "TEXT HERE!"); - before
else if(!IsSultanVehicle(GetPlayerVehicleID(playerid))return SendClientMessage (playerid, COLOR_YELLOW, "TEXT HERE!"); after