SA-MP Forums Archive
y_uvar help ... - 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: y_uvar help ... (/showthread.php?tid=501696)



y_uvar help ... - Bect - 19.03.2014

Код:
                new rDate[40],Year,Month,Day,Hour,Minute,Second;
		getdate(Year,Month,Day);
		gettime(Hour,Minute,Second);
		format(rDate,sizeof rDate,"%d/%d/%d at %d:%d:%d",Day,Month,Year,Hour,Minute,Second);
		gPlayerData[playerid][E_PLAYER_REG_DATE] = rDate;    -  This is the error line !!!
Код:
 error 006: must be assigned to an array
How can I fix this error ? Please help me !


Re: y_uvar help ... - Bect - 19.03.2014

please help me !!! somebody...


Re: y_uvar help ... - Carac - 19.03.2014

Don't make double posts please.
But here the line the error gave was this one right?
pawn Код:
gPlayerData[playerid][E_PLAYER_REG_DATE] = rDate;
try this one
pawn Код:
gPlayerData[playerid][E_PLAYER_REG_DATE] = rDate);
I'm not sure if its going to work as I don't know the exact problem yet.


Re: y_uvar help ... - Bect - 21.03.2014

not good !