SA-MP Forums Archive
Help me on linking commands - 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: Help me on linking commands (/showthread.php?tid=648278)



Help me on linking commands - BanhVo - 19.01.2018

remove


Re: Help me on linking commands - Sew_Sumi - 20.01.2018

Код:
			    	format(szMessage, sizeof(szMessage), "Gate ID %d (VW: %d)", i, GateInfo[i][gVW]);
			    	SendClientMessageEx(playerid, COLOR_WHITE, szMessage);
			    	format(string, sizeof(string), "PassWord Gate: %s", GateInfo[gateid][gPass])
You've mixed up the ID.

Код:
format(string, sizeof(string), "PassWord Gate: %s", GateInfo[gateid][gPass]
should probably be
Код:
format(string, sizeof(string), "PassWord Gate: %s", GateInfo[i][gPass]