fre
2011-08-03 20:43:13
Hey all, me again :p
[php]
procedure GetItemId;
var
item: TInvItem;
begin
item := R_GetInvItemAt(1);
writeln(item.id);
end;
[/php]
as a result i get -1…
ofc i have something in my firs slot :p
The same ting with item.name
what am i doing wrong?
Edit:
I logged out and back in and now it does return the right id and name…
weird???
[php]
procedure GetItemId;
var
item: TInvItem;
begin
item := R_GetInvItemAt(1);
writeln(item.id);
end;
[/php]
as a result i get -1…
ofc i have something in my firs slot :p
The same ting with item.name
what am i doing wrong?
Edit:
I logged out and back in and now it does return the right id and name…
weird???