SA-MP Forums Archive
[Need Help] Problem with this ... - 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: [Need Help] Problem with this ... (/showthread.php?tid=543835)



[Need Help] Problem with this ... - Alpay0098 - 29.10.2014

Hi,
i've got this problem.
what is problem?
Код:
format(hstring, sizeof(hstring), "Faction: %s | Rank: %d | Division: %s | Family: %s | Rank: %d | House 1: %s | House 2: %s", RPFNEx(playerid), PlayerInfo[playerid][pFacRank], RPFDN(playerid), RPFaN(playerid), PlayerInfo[playerid][pFamRank], RPHK(playerid), RPVIPHK(playerid));
Error code is 035 (error 075: input line too long (after substitutions))

and also what is Error 075 (error 035: argument type mismatch (argument 3))?

Thanks.


Re: [Need Help] Problem with this ... - M0HAMMAD - 29.10.2014

pawn Код:
format(hstring, sizeof(hstring), "Faction: %s | Rank: %d | Division: %s | Family: %s | Rank: %d | House 1: %s | House 2: %s", RPFNEx(playerid), PlayerInfo[playerid][pFacRank], RPFDN(playerid)
, RPFaN(playerid), PlayerInfo[playerid][pFamRank], RPHK(playerid), RPVIPHK(playerid));



Re: [Need Help] Problem with this ... - Alpay0098 - 29.10.2014

Wow thanks.
and how about second one?


Re: [Need Help] Problem with this ... - Alpay0098 - 29.10.2014

Sorry for Spam but i have to refuse this problem as soon as possible ...
is there anybody to resolve this?


Re: [Need Help] Problem with this ... - Alpay0098 - 29.10.2014

Please HELP.
{sry for spam again but it's too emergency fo' me}


Re: [Need Help] Problem with this ... - Guest4390857394857 - 29.10.2014

Thread bumping is allowed only every 24 hours. Have patience.


Re: [Need Help] Problem with this ... - M0HAMMAD - 29.10.2014

give me your error lines and the lines like:
error (3030)
Line 3030 ->


Re: [Need Help] Problem with this ... - Alpay0098 - 29.10.2014

Код:
			format(hstring, sizeof(hstring), "Business 1: %s (ID: %s) | Business 2: %s (ID: %s) | Vehicle 1: %s (ID: %d) | Vehicle 2: %s (ID: %d) | Vehicle 3: %s (ID: %d)", RBT(PlayerInfo[playerid][pBiz]), RPBK(playerid), RBT(PlayerInfo[playerid][pVBiz]), RPVIPBK(playerid), RVN(GetVehicleModel(PlayerInfo[playerid][pVeh])), PlayerInfo[playerid][pVeh], RVN(GetVehicleModel(PlayerInfo[playerid][pVVeh])), PlayerInfo[playerid][pVVeh], RVN(GetVehicleModel(PlayerInfo[playerid][pBVeh])), PlayerInfo[playerid][pBVeh]);
            ShowPlayerDialog(playerid, 696969, hstring, "Ok", "Cancel"); /////// Error Line
	    }
    }
    return 1;
(43439) : error 035: argument type mismatch (argument 3)


Re: [Need Help] Problem with this ... - M0HAMMAD - 29.10.2014

I think this will be work
pawn Код:
new hstring[512];
format(hstring, sizeof(hstring), "Business 1: %s (ID: %s) | Business 2: %s (ID: %s) | Vehicle 1: %s (ID: %d) | Vehicle 2: %s (ID: %d) | Vehicle 3: %s (ID: %d)", RBT(PlayerInfo[playerid][pBiz]), RPBK(playerid), RBT(PlayerInfo[playerid][pVBiz]), RPVIPBK(playerid), RVN(GetVehicleModel(PlayerInfo[playerid][pVeh])), PlayerInfo[playerid][pVeh]
, RVN(GetVehicleModel(PlayerInfo[playerid][pVVeh])), PlayerInfo[playerid][pVVeh], RVN(GetVehicleModel(PlayerInfo[playerid][pBVeh])), PlayerInfo[playerid][pBVeh]);
ShowPlayerDialog(playerid, 696969, hstring, "Ok", "Cancel"); /////// Error Line



Re: [Need Help] Problem with this ... - M0HAMMAD - 29.10.2014

Oh,
This
pawn Код:
ShowPlayerDialog(playerid, 696969,DIALOG_STYLE_MSGBOX,"Stats",hstring,"Ok","Cancel");
I'm sorry. i dont Attention
you forget to add style