vendredi 11 septembre 2015

Pawno errors

This is my code
PHP Code:

{
    
#if ONLY_ADMIN == true
    
if(!ADMIN) return 0;
    
#endif
    
ShowPlayerDialog(playerid,TELE_DIALOG,DIALOG_STYLE_LIST,"Interior Teleports","Shamal\nAndromeda\nAmmunation booths\nAmmunation range\nArea51\nlibertycityoutside\nlibertycityinside\nwarehouse 1\nwarehouse 2\nbank\ndirt track\npleasure domes\nbattle field\nSan Fierro Police HQ\nLos Santos Police HQ\nLas Ventras Police HQ\n8track\nBlood bowl\nKickstart\nHiddenroom\nWoozie's Office\nPlanning Department\nLos Santos Gym\nLas Ventrus Gym\nSan Fierro Gym\nCrack Factory\nAirport Ticket Desk\nAirport baggage reclaim\n Meat Factory\nBetting Shop","Select","Close");
    return 
1;



it gives me
Code:

D:\server scripts\my filterscripts\intele.pwn(80) : error 075: input line too long (after substitutions)
D:\server scripts\my filterscripts\intele.pwn(81) : error 037: invalid string (possibly non-terminated string)
D:\server scripts\my filterscripts\intele.pwn(81) : error 017: undefined symbol "Shamal"
D:\server scripts\my filterscripts\intele.pwn(81) : error 029: invalid expression, assumed zero
D:\server scripts\my filterscripts\intele.pwn(81) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664                          Copyright (c) 1997-2006, ITB CompuPhase


5 Errors.

line 80 is #endif
line 81 is
Code:

ShowPlayerDialog(playerid,TELE_DIALOG,DIALOG_STYLE_LIST,"Interior Teleports","Shamal\nAndromeda\nAmmunation booths\nAmmunation range\nArea51\nlibertycityoutside\nlibertycityinside\nwarehouse 1\nwarehouse 2\nbank\ndirt track\npleasure domes\nbattle field\nSan Fierro Police HQ\nLos Santos Police HQ\nLas Ventras Police HQ\n8track\nBlood bowl\nKickstart\nHiddenroom\nWoozie's Office\nPlanning Department\nLos Santos Gym\nLas Ventrus Gym\nSan Fierro Gym\nCrack Factory\nAirport Ticket Desk\nAirport baggage reclaim\n Meat Factory\nBetting Shop","Select","Close");


Aucun commentaire:

Enregistrer un commentaire