What that means? :S
#1

Код:
E:\samp server 0.3e\gamemodes\copsterrorist.pwn(81) : error 075: input line too long (after substitutions)
E:\samp server 0.3e\gamemodes\copsterrorist.pwn(81 -- 51) : error 075: input line too long (after substitutions)
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
please explain for me that :S
Reply
#2

Decreased the size of your line
Reply
#3

there are 2 large lines with #define i decreased the line with

#define anything "hi \
\
Testing \
etc... "

but still the same error.

line 51 to line 81:

http://pastebin.com/B9AEUamW
Reply
#4

You cant enter unlimited lenght of symbols in no way, 512 is max I believe, make a several dialogs.
Reply
#5

You can split it in multiple defines, and then when you need it you call all of them.
Maybe there's a better solution for this, but I never had to do it, so I'm not sure what could be it.
I hope that works anyways
PHP код:
#define Ahelp_Text1 "1. /kick [ID] [REASON] - Kicks the player from the Server.\n"
#define Ahelp_Text2 "2. /ban [ID] [REASON] - Bans the player from the Server.\n"
#define Ahelp_Text3 "3. /warn [ID] [REASON] - Gives a warning for a player in the Server.\n"
#define Ahelp_Text4 "4. /slap [ID] - Slaps the player.\n"
#define Ahelp_Text5 "5. /akill [ID] [REASON] - Kills the player.\n"
#define Ahelp_Text6 "6. /garmour [ID] - Gives an armour for a Player.\n"
#define Ahelp_Text7 "7. /ghealth [ID] - Gives a health for a Player.\n"
#define Ahelp_Text8 "8. /gapack [ID] - Gives The admin pack for a Player.\n"
#define Ahelp_Text9 "9. /darmour [ID] - Takes armour from a Player.\n"
#define Ahelp_Text10 "10. /dhealth [ID] - Takes health from a Player.\n"
#define Ahelp_Text11 "11. /darm [ID] - Takes all the weapons from a Player.\n"
#define Ahelp_Text12 "12. /forcerespawn [ID] - Forces a player to change his class.\n"
#define Ahelp_Text13 "13. /spec [ID] - Spectate a player.\n"
#define Ahelp_Text14 "14. /spec(tate)off [ID] - Stop Spectating a Player.\n"
#define Ahelp_Text15 "15. /freeze [ID] [REASON] - Freezes Up a player in his position.\n"
#define Ahelp_Text16 "16. /unfreeze [ID] [REASON] - UnFreezes a player from his position.\n"
#define Ahelp_Text17 "17. /mute [ID] [REASON] - Mutes a player.\n"
#define Ahelp_Text18 "18. /unmute [ID] [REASON] - Unmutes a player.\n"
#define Ahelp_Text19 "19. /getcountry [ID] - Checks the country name of a player.\n"
#define Ahelp_Text20 "20. /getip [ID] - Checks the IP of a Player."
#define Login_Dialog 12340
#define Main_Dialog 12341
#define Kick_Reason_Dialog 12342
#define Ban_Reason_Dialog 12343
#define Warn_Reason_Dialog 12344
#define Admin_Kill_Reason_Dialog 12345
#define Freeze_Reason_Dialog 12346
#define UnFreeze_Reason_Dialog 12347
#define Mute_Reason_Dialog 12348
#define Give_Password_Sure_Dialog 12349
#define Logon_Player_Admin_Sure_Dialog 12350
#define Crash_Player 12351
#define Ahelp_Dialog 12352
#define ADMIN_SPEC_TYPE_NONE 0
#define ADMIN_SPEC_TYPE_PLAYER 1
#define ADMIN_SPEC_TYPE_VEHICLE 2
new Status[MAX_PLAYERS char];
new 
cplayerid[MAX_PLAYERS];
new 
warnstatus[MAX_PLAYERS char];
new 
mutestatus[MAX_PLAYERS char];
new 
gSpectateID[MAX_PLAYERS];
new 
gSpectateType[MAX_PLAYERS char];
new 
SpectateType[MAX_PLAYERS char];
new 
amode[MAX_PLAYERS char];
new 
timerfortextdraw3[MAX_PLAYERS];
new 
togglespy[MAX_PLAYERS char];
//End 
Reply
#6

Thanks all for help.

It's fixed.

+Rep to all.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)