format error
#1

Код:
roleplay.pwn(290) : error 012: invalid function call, not a valid address
roleplay.pwn(290) : warning 215: expression has no effect
roleplay.pwn(290) : error 001: expected token: ";", but found ")"
roleplay.pwn(290) : error 029: invalid expression, assumed zero
roleplay.pwn(290) : fatal error 107: too many error messages on one line
Код:
new string[256];
	format(string, sizeof(string), "Personas dati:\n\// LINE 290
		Vārds: %s\n\
		Dzimums: %s\n\
		Dzimљanas datums: %s\n\
		Izcelsme: %s\n\n\
		Pases dati:\n\
		Derīga līdz: TIKS_IZVEIDOTS\n\n\
		Vai tieљām vēlaties veikt љo pakalpojumu?\n\
		Izmaksas: $25",
		GetPlayerNameEx(playerid),
		GetPlayerGender(playerid),
		PlayerData[playerid][pBirthdate],
		PlayerData[playerid][pOrigin]
	);
	ShowDialog(playerid, passportAccept, DIALOG_STYLE_MSGBOX, "Pases izveide", string, "Apstipr.", "Atcelt");
Reply
#2

PlayerData[playerid][pOrigin]);
Reply
#3

Quote:
Originally Posted by Glenn332
Посмотреть сообщение
PlayerData[playerid][pOrigin]);
Check on line lower. No, that's not the problem.
Reply
#4

PHP код:
new string[256];
    
format(stringsizeof(string), "Personas dati:\n\// LINE 290
        Vārds: %s\n\
        Dzimums: %s\n\
        Dzimљanas datums: %s\n\
        Izcelsme: %s\n\n\
        Pases dati:\n\
        Derīga līdz: TIKS_IZVEIDOTS\n\n\
        Vai tieљām vēlaties veikt љo pakalpojumu?\n\
        Izmaksas: $25"
,
        
GetPlayerNameEx(playerid),
        
GetPlayerGender(playerid),
        
PlayerData[playerid][pBirthdate],
        
PlayerData[playerid][pOrigin]);
ShowDialog(playeridpassportAcceptDIALOG_STYLE_MSGBOX"Pases izveide"string"Apstipr.""Atcelt"); 
?
Reply
#5

Fuck it, i just changed to another function, without forward & callback.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)