23.02.2012, 16:18
Hey ,my problem is : i can't put than 6 lines in the MSGBOX Dialog , how to fix it ? thanks
dcmd_vip(playerid, params[])
{
#pragma unused params
if(Vip[playerid] == 0) return SendClientMessage(playerid, COLOR_CERVENA, " [!] You're not VIP !");
ShowPlayerDialog(playerid,9,DIALOG_STYLE_MSGBOX,"{FF0000}VIP Help","here is list of commands for all vip players:\n{DDD100}/vskin {FFFFFF}- change your skin to the choosen id\n{DDD100}/vnick {FFFFFF}- changes your color to special VIP color\n{DDD100}/vbox {FFFFFF}- special vip command spawns a box infront of you\n{DDD100}/vrbox {FFFFFF}- to remove the spawned box\n{DDD100}/vmob {FFFFFF}- to spawn a baril\n{DDD100}/vrmob {FFFFFF}- to remove the baril\n{DDD100}/vother {FFFFFF}- i add here other stuff and it get me errors ","OK","");
return 1;
}
C:\DOCUME~1\PC\Bureau\cs\GAMEMO~1\TEST.pwn(936) : warning 217: loose indentation C:\DOCUME~1\PC\Bureau\cs\GAMEMO~1\TEST.pwn(1629) : error 075: input line too long (after substitutions) C:\DOCUME~1\PC\Bureau\cs\GAMEMO~1\TEST.pwn(1630) : error 037: invalid string (possibly non-terminated string) C:\DOCUME~1\PC\Bureau\cs\GAMEMO~1\TEST.pwn(1630) : error 017: undefined symbol "here" C:\DOCUME~1\PC\Bureau\cs\GAMEMO~1\TEST.pwn(1630) : error 017: undefined symbol "is" C:\DOCUME~1\PC\Bureau\cs\GAMEMO~1\TEST.pwn(1630) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 5 Errors.
new sz_msg[ 512 ];
strcat( sz_msg, "here is list of commands for all vip players:\n{DDD100}/vskin {FFFFFF}- change your skin to the choosen id\n{DDD100}/vnick {FFFFFF}- changes your color to special VIP color\n{DDD100}/vbox {FFFFFF}- special vip command spawns a box " );
strcat( sz_msg, "infront of you\n{DDD100}/vrbox {FFFFFF}- to remove the spawned box\n{DDD100}/vmob {FFFFFF}- to spawn a baril\n{DDD100}/vrmob {FFFFFF}- to remove the baril\n{DDD100}/vother {FFFFFF}- i add here other stuff and it get me errors" );
ShowPlayerDialog( playerid, 9, DIALOG_STYLE_MSGBOX, "{FF0000}VIP Help", sz_msg, "OK", "" );