invalid string.
#1

Код HTML:
C:\Users\HP\Desktop\GameMode\gamemodes\GM.pwn(2576) : error 037: invalid string (possibly non-terminated string)
C:\Users\HP\Desktop\GameMode\gamemodes\GM.pwn(2576) : error 017: undefined symbol "some"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
C:\Users\HP\Desktop\GameMode\gamemodes\GM.pwn(2576) : error 017: undefined symbol "about"
C:\Users\HP\Desktop\GameMode\gamemodes\GM.pwn(2576) : fatal error 107: too many error messages on one line
LINE 2576:
Код HTML:
strcat(pDialog, "/id - Displays some data about a player.\n/pay - Sends money to a player.\n/buy - Buys items.\n/drink - Drinks beverages from a bar.\n/turfs - Shows territories.\n/licenses - Displays the licenses status.\n /skill - Displays job skill.\n/sleep - Activate AFK mode.\n/eject - Throws a passenger out of the vehicle.
                    \n/rob - Rob the bank.\n/service - Calls a taxi/medic/mechanic.\n/report - Contacts the admins team.\n/helpme - Contacts the helpers team.\n/accept - Accepts a service.\n /cancel - Refuses a service.\n/usedrugs - Consumes drugs.\n/fill - Fills the gas tank.\n/fillgascan - Fills the gas can.\n/animlist - List of animations.", sizeof(pDialog));
Reply
#2

PHP код:
new pDialog[3500];
strcat(pDialog"/id - Displays some data about a player.\n"sizeof(pDialog));
strcat(pDialog"/pay - Sends money to a player.\n"sizeof(pDialog));
strcat(pDialog"/buy - Buys items.\n"sizeof(pDialog));
strcat(pDialog"/drink - Drinks beverages from a bar.\n"sizeof(pDialog));
strcat(pDialog"/turfs - Shows territories.\n"sizeof(pDialog));
strcat(pDialog"/licenses - Displays the licenses status.\n"sizeof(pDialog));
strcat(pDialog"/skill - Displays job skill.\n/sleep - Activate AFK mode.\n"sizeof(pDialog));
strcat(pDialog"/eject - Throws a passenger out of the vehicle.\n"sizeof(pDialog));
strcat(pDialog"/rob - Rob the bank.\n"sizeof(pDialog));
strcat(pDialog"/service - Calls a taxi/medic/mechanic.\n"sizeof(pDialog));
strcat(pDialog"/report - Contacts the admins team.\n"sizeof(pDialog));
strcat(pDialog"/helpme - Contacts the helpers team.\n"sizeof(pDialog));
strcat(pDialog"/accept - Accepts a service.\n"sizeof(pDialog));
strcat(pDialog"/cancel - Refuses a service.\n"sizeof(pDialog));
strcat(pDialog"/usedrugs - Consumes drugs.\n"sizeof(pDialog));
strcat(pDialog"/fill - Fills the gas tank.\n"sizeof(pDialog));
strcat(pDialog"/fillgascan - Fills the gas can.\n"sizeof(pDialog));
strcat(pDialog"/animlist - List of animations."sizeof(pDialog));
ShowPlayerDialog(playerid0DIALOG_STYLE_MSGBOX"Help"pDialog"OK""");
return 
1;

Reply
#3

Thank you. +rep.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)