SA-MP Forums Archive
RegisterSystem Error - 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: RegisterSystem Error (/showthread.php?tid=505493)



RegisterSystem Error - iNxx - 08.04.2014

Hi, I have an error I can not fix it myself so I need your help

My error In line 12 ERROR >> :
Код:
error 035: argument type mismatch (argument 1)
THE LINES 8-13
Код:
public OnPlayerConnect(playerid)
{
	new RegUsers[256];
	format(RegUsers,sizeof(RegUsers),"Users/%s.ini",GetName(playerid));
	if(DOF2_FileExists(RSys(playerid))
{
Thanks to helpers!


Re: RegisterSystem Error - xVIP3Rx - 08.04.2014

I think you're missing a bracket here..
pawn Код:
if(DOF2_FileExists(RSys(playerid))
It shall be
pawn Код:
if(DOF2_FileExists(RSys(playerid)))
If the problem still exist then post "DOF2_FileExists" and "RSys" stocks.


Re: RegisterSystem Error - iNxx - 09.04.2014

There is still an error, I tried what you gave me, can you help me?!


Re: RegisterSystem Error - Hanuman - 09.04.2014

Quote:
Originally Posted by xVIP3Rx
Посмотреть сообщение
If the problem still exist then post "DOF2_FileExists" and "RSys" stocks.
Give the codes of that!