SA-MP Forums Archive
error 027: invalid character constant - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: error 027: invalid character constant (/showthread.php?tid=649175)



[SOLVED-FIXED]error 027: invalid character constant - THEXAS - 04.02.2018

Код:
C:\Users\Vartotojas\Desktop\SampServer\gamemodes\arrivalsrv.pwn(41932) : error 027: invalid character constant
C:\Users\Vartotojas\Desktop\SampServer\gamemodes\arrivalsrv.pwn(41932) : error 027: invalid character constant
C:\Users\Vartotojas\Desktop\SampServer\gamemodes\arrivalsrv.pwn(41945) : error 027: invalid character constant
C:\Users\Vartotojas\Desktop\SampServer\gamemodes\arrivalsrv.pwn(41945) : error 027: invalid character constant
C:\Users\Vartotojas\Desktop\SampServer\gamemodes\arrivalsrv.pwn(41958) : error 027: invalid character constant
C:\Users\Vartotojas\Desktop\SampServer\gamemodes\arrivalsrv.pwn(41958) : error 027: invalid character constant
C:\Users\Vartotojas\Desktop\SampServer\gamemodes\arrivalsrv.pwn(58529) : warning 217: loose indentation
C:\Users\Vartotojas\Desktop\SampServer\gamemodes\arrivalsrv.pwn(58530) : warning 217: loose indentation
lines 41932- if(PlayerInfo[playerid][pCash] <= 0 || PlayerInfo[playerid][pCash] < netmoney || !strlen(inputtext) || kyky <= 0) return SPD(playerid,AMMUSHOP1,DIALOG_STYLE_INPUT, "Pirkti patronus","\t\tKlaida!\nIveskite patronu skaiciu, kad nusipirkti juos\nInformacija apie patrous\nPatronu tipas: 5.56 mm\Kaina: 30$ uz patrona","Pirkti","Atsaukti"),SetPVarInt(playerid, "POKYPKAPT",2);


41945- if(PlayerInfo[playerid][pCash] <= 0 || PlayerInfo[playerid][pCash] < netmoney || !strlen(inputtext) || kyky <= 0) return SPD(playerid,AMMUSHOP1,DIALOG_STYLE_INPUT, "Pirkti patronus","\t\tKlaida!\nIveskite patronu skaiciu, kad nusipirkti juos\nInformacija apie patrous\nPatronu tipas: 14.7 mm\Kaina: 25$ uz patrona","Pirkti","Atsaukti"),SetPVarInt(playerid, "POKYPKAPT",3);


41958- if(PlayerInfo[playerid][pCash] <= 0 || PlayerInfo[playerid][pCash] < netmoney || !strlen(inputtext) || kyky <= 0) return SPD(playerid,AMMUSHOP1,DIALOG_STYLE_INPUT, "Pirkti patronus","\t\tKlaida!\nIveskite patronu skaiciu, kad nusipirkti juos\nInformacija apie patrous\nPatronu tipas: 12 mm\Kaina: 20$ uz patrona","Pirkti","Atsaukti"),SetPVarInt(playerid, "POKYPKAPT",4);


58529- SPD(playerid,RegDialog,DIALOG_STYLE_INPUT,"Lithuan ia RolePlay", string,"Uzeiti","Atsaukti");

58530- return true;


Re: error 027: invalid character constant - Mugala - 04.02.2018

PHP код:
mm\Kaina30
fix this like:
PHP код:
mm\nKaina30



Re: error 027: invalid character constant - THEXAS - 04.02.2018

Quote:
Originally Posted by Mugalito
Посмотреть сообщение
PHP код:
mm\Kaina30
fix this like:
PHP код:
mm\nKaina30
Thanks you