some errors
#1

PHP код:
ShowPlayerDialog(playeridAMMO_DIALOGDIALOG_STYLE_MSGBOX"Weapons Shop","{ffffff}01.Knife [3000]\n 02.Katana [3000]\n 03.Sawn Off Shotgun [5000] {ff0000}[150]\n {ffffff}04.Combat Shotgun [5000] {ff0000}[150]\n {ffffff}05.MP5 [3500] {ff0000}[300]\n {ffffff}06.Micro Uzi [3500] {ff0000}[300]\n {ffffff}07.Tec-9 [3500] {ff0000}[300]\n {ffffff}08.M4 [9000] {ff0000}[200]\n {ffffff}09.AK-47 [8500] {ff0000}[200]\n {ffffff}10.Silenced Pistol [4500] {ff0000}[120]\n {ffffff}11.Sniper Rifle [20000] {ff0000}[20]\n {ffffff}12.Armour [1000000]""Buy""Close"); 
it gives me that errors:
PHP код:
error 075input line too long (after substitutions)
error 027invalid character constant
error 017
undefined symbol "ffffff"
warning 215expression has no effect
error 001
expected token";"but found "."
fatal error 107too many error messages on one line 
I know its because the line is too long but i dont know how to shorten it..
Reply
#2

Learn to use ****** for these things.
Reply
#3

Quote:
Originally Posted by Kingunit
Посмотреть сообщение
I searched this things i found a way to use ~w~ but is also doesnt work.. any idea?
Reply
#4

pawn Код:
ShowPlayerDialog(playerid, AMMO_DIALOG, DIALOG_STYLE_MSGBOX, "Weapons Shop",
"{ffffff}01.Knife [3000]\n 02.Katana [3000]\n 03.Sawn Off Shotgun [5000] {ff0000}[150]\n {ffffff}04.Combat Shotgun [5000] {ff0000}[150]\n {ffffff}05.MP5 [3500] {ff0000}[300]\n {ffffff}06.Micro Uzi [3500] {ff0000}[300]\n {ffffff}07.Tec-9 [3500] {ff0000}[300]\n {ffffff}08.M4 [9000] {ff0000}[200]\n {ffffff}09.AK-47 [8500] {ff0000}[200]\n {ffffff}10.Silenced Pistol [4500] {ff0000}[120]\n {ffffff}11.Sniper Rifle [20000] {ff0000}[20]\n {ffffff}12.Armour [1000000]", "Buy", "Close");
Breaking it into two lines wont matter if you do it in correct way
Reply
#5

Quote:
Originally Posted by LaGrande
Посмотреть сообщение
pawn Код:
ShowPlayerDialog(playerid, AMMO_DIALOG, DIALOG_STYLE_MSGBOX, "Weapons Shop",
"{ffffff}01.Knife [3000]\n 02.Katana [3000]\n 03.Sawn Off Shotgun [5000] {ff0000}[150]\n {ffffff}04.Combat Shotgun [5000] {ff0000}[150]\n {ffffff}05.MP5 [3500] {ff0000}[300]\n {ffffff}06.Micro Uzi [3500] {ff0000}[300]\n {ffffff}07.Tec-9 [3500] {ff0000}[300]\n {ffffff}08.M4 [9000] {ff0000}[200]\n {ffffff}09.AK-47 [8500] {ff0000}[200]\n {ffffff}10.Silenced Pistol [4500] {ff0000}[120]\n {ffffff}11.Sniper Rifle [20000] {ff0000}[20]\n {ffffff}12.Armour [1000000]", "Buy", "Close");
Breaking it into two lines wont matter if you do it in correct way
Still cant understand how i can fix this
Reply
#6

press enter at appropriate place to break them. just copy/paste it in ur script
Reply
#7

Quote:
Originally Posted by LaGrande
Посмотреть сообщение
press enter at appropriate place to break them. just copy/paste it in ur script
Strange.. when i firstly tried to do that it gave me an error.. and now it works Thank you.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)