Szerző Téma: error 075: input line too long (after substitutions)  (Megtekintve 1629 alkalommal)

error 075: input line too long (after substitutions)
« Dátum: 2013. január 02. - 15:06:05 »
0 Show voters
Üdv!
A fenti hiba van ennél a sornál:
 
if(GetPlayerWeapon(playerid) != 0 || GetPlayerWeapon(playerid) = 1 || GetPlayerWeapon(playerid) != 2 || GetPlayerWeapon(playerid) != 3 || GetPlayerWeapon(playerid) != 4 || GetPlayerWeapon(playerid) != 5 || GetPlayerWeapon(playerid) != 6 && GetPlayerWeapon(playerid) != 7 && GetPlayerWeapon(playerid) != 8 && GetPlayerWeapon(playerid) != 9 || GetPlayerWeapon(playerid) != 10 || GetPlayerWeapon(playerid) != 11 || GetPlayerWeapon(playerid) != 12 || GetPlayerWeapon(playerid) != 13 || GetPlayerWeapon(playerid) != 14 || GetPlayerWeapon(playerid) != 15 || GetPlayerWeapon(playerid) != 16 || GetPlayerWeapon(playerid) != 17 || GetPlayerWeapon(playerid) != 18 || GetPlayerWeapon(playerid) != 41 || GetPlayerWeapon(playerid) != 42 || GetPlayerWeapon(playerid) != 37)

 
Hogy tudnám lerövidíteni a sort?

Nem elérhető Norby

  • 1575
    • Profil megtekintése
error 075: input line too long (after substitutions)
« Válasz #1 Dátum: 2013. január 02. - 15:24:30 »
0 Show voters
A másodiknál csak egy \"=\" jel van.
És amúgy sortöréssel.
 
if(GetPlayerWeapon(playerid) != 0 || GetPlayerWeapon(playerid) == 1 || GetPlayerWeapon(playerid) != 2 || GetPlayerWeapon(playerid) != 3 || GetPlayerWeapon(playerid) != 4 || GetPlayerWeapon(playerid) != 5 ||
GetPlayerWeapon(playerid) != 6 && GetPlayerWeapon(playerid) != 7 && GetPlayerWeapon(playerid) != 8 && GetPlayerWeapon(playerid) != 9 || GetPlayerWeapon(playerid) != 10 || GetPlayerWeapon(playerid) != 11 ||
GetPlayerWeapon(playerid) != 12 || GetPlayerWeapon(playerid) != 13 || GetPlayerWeapon(playerid) != 14 || GetPlayerWeapon(playerid) != 15 || GetPlayerWeapon(playerid) != 16 || GetPlayerWeapon(playerid) != 17 ||
GetPlayerWeapon(playerid) != 18 || GetPlayerWeapon(playerid) != 41 || GetPlayerWeapon(playerid) != 42 || GetPlayerWeapon(playerid) != 37)

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal