Error in Gamemode
#1

How to fix this error

Код:
C:\Documents and Settings\Administrator\Desktop\World Stunting         V1.3.5\gamemodes\WorldSU.pwn(2604) : error 075: input line too long (after substitutions)
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
please say me as fast you can
Reply
#2

Please kindly show which Line is it, so we're able to help you .
Reply
#3

show the line
Reply
#4

This

pawn Код:
// Dont Delete Credits .... Please Dont Delete ...
COMMAND:credits( playerid, params[]) {
    ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "{33FFCC}GameMode Credits","{FFFFFF}\n*{33FF00}Thanks To [RB]ReD_DeViL Creating This Game Mode\n*Thanks to Sunmil Testing This Game Mode \n*Thanks to Singam Creating Forum and Testing & Helping\n*Thanks To Mubbarak for Helping\n*Thanks To Willian Testing GameMode\n*Thanks to [FIR]EVIL_BOSS helping and Testing GameMode \n\n{FF9933}*Special Thanks To ****** For SScanf \n*Thanks To Zeex For ZCMD \n*Thanks To Incognito For IRC Plugin & Streamer Plugin","Ok","");
     return 1;
    }
Reply
#5

Search!

It's been answered million of times, it won't take more than 1-2 minutes to figure out the problem and solve it yourself.

---

Reading those threads from the first link will make you understand how to use strcat to solve it.
Reply
#6

Remeber, dont put too much text in 1 line you should enter a new line )

pawn Код:
COMMAND:credits( playerid, params[]) {
    ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "{33FFCC}GameMode Credits","{FFFFFF}\n*{33FF00}Thanks To [RB]ReD_DeViL Creating This Game Mode
    \n*Thanks to Sunmil Testing This Game Mode
    \n*Thanks to Singam Creating Forum and Testing & Helping
    \n*Thanks To Mubbarak for Helping
    \n*Thanks To Willian Testing GameMode
    \n*Thanks to [FIR]EVIL_BOSS helping and Testing GameMode
    \n\n{FF9933}*Special Thanks To ****** For SScanf
    \n*Thanks To Zeex For ZCMD
    \n*Thanks To Incognito For IRC Plugin & Streamer Plugin"
,"Ok","");
     return 1;
    }
Reply
#7

Try This :-
pawn Код:
// Dont Delete Credits .... Please Dont Delete ...
COMMAND:credits(playerid, params[])
{
    new dialogstring[952];
    strcat(dialogstring, "{FFFFFF}\n");
    strcat(dialogstring, "*{33FF00}Thanks To [RB]ReD_DeViL Creating This Game Mode\n");
    strcat(dialogstring, "*Thanks to Sunmil Testing This Game Mode \n");
    strcat(dialogstring, "*Thanks to Singam Creating Forum and Testing & Helping\n");
    strcat(dialogstring, "*Thanks To Mubbarak for Helping\n");
    strcat(dialogstring, "*Thanks To Willian Testing GameMode\n");
    strcat(dialogstring, "*Thanks to [FIR]EVIL_BOSS helping and Testing GameMode \n\n");
    strcat(dialogstring, "{FF9933}*Special Thanks To ****** For SScanf \n");
    strcat(dialogstring, "*Thanks To Zeex For ZCMD \n");
    strcat(dialogstring, "*Thanks To Incognito For IRC Plugin & Streamer Plugin");
    ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "{33FFCC}GameMode Credits", dialogstring, "Ok", "");
    return 1;
}
Reply
#8

I Will try...
Reply
#9

Quote:
Originally Posted by ToiletDuck
Посмотреть сообщение
Remeber, dont put too much text in 1 line you should enter a new line )

pawn Код:
COMMAND:credits( playerid, params[]) {
    ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "{33FFCC}GameMode Credits","{FFFFFF}\n*{33FF00}Thanks To [RB]ReD_DeViL Creating This Game Mode
    \n*Thanks to Sunmil Testing This Game Mode
    \n*Thanks to Singam Creating Forum and Testing & Helping
    \n*Thanks To Mubbarak for Helping
    \n*Thanks To Willian Testing GameMode
    \n*Thanks to [FIR]EVIL_BOSS helping and Testing GameMode
    \n\n{FF9933}*Special Thanks To ****** For SScanf
    \n*Thanks To Zeex For ZCMD
    \n*Thanks To Incognito For IRC Plugin & Streamer Plugin"
,"Ok","");
     return 1;
    }
thanks alot
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)