19.03.2015, 10:02
Yes because you made an bracket mistake, write it like this:
Код:
new v = GetPlayerVehicleID(playerid); if(v && !IsABike(v)) //So only if he is in a vehicle and its not a bike { format(string, sizeof(string), "%s says %s: %s", sendername, (!window{v})?("[Windows Shut]"):("[Windows Down]"),text); ProxDetector(20.0, playerid, string, COLOR_FADE1, COLOR_FADE2, COLOR_FADE3, COLOR_FADE4, COLOR_FADE5); return 0; } if(gPlayerLogged{playerid} != 1) { SendClientMessageEx(playerid, COLOR_RED, "You are not logged in."); return 0; }