08.04.2011, 14:59
Hi!
I have another question.
My function give some errors
This is how I use this function (example):
SetPlayerInfo(playerid, "WarnReason", "DM To Much"); //SetPlayerInfo(playerid, info[], newinfo[])
I have another question.
My function give some errors
Код:
stock SetPlayerInfo(playerid, info[], newinfo[]) { AccountInfo[playerid][info]=newinfo; return 1; }
Код:
\pawno\include\gamemode/account.inc(175) : error 033: array must be indexed (variable "info") \pawno\include\gamemode/account.inc(175) : error 006: must be assigned to an array
SetPlayerInfo(playerid, "WarnReason", "DM To Much"); //SetPlayerInfo(playerid, info[], newinfo[])