PHP Code:
new szName[32], origin[3]
get_user_name(id, szName, charsmax(szName))
get_user_origin(id, origin, 0)
[...]
DispatchKeyValue(monster[id], "origin", origin[0]+" "+origin[1]+" "+origin[2])
[...]
DispatchKeyValue(monster[id], "displayname", szName+"'s Bodyguard")
Code:
(43) error 033: array must be indexed (variable "-unknown-")
(47) error 033: array must be indexed (variable "szName")
43 and 47 are the both DispatchKeyValue lines.
Am I missing something here?
__________________