Forum

> > CS2D > Scripts > Data Not Saved.
Forums overviewCS2D overview Scripts overviewLog in to reply

English Data Not Saved.

2 replies
To the start Previous 1 Next To the start

old Data Not Saved.

Rygna
User Off Offline

Quote
Hello!
i had make PvP Scripts, but its not saved.
i mean the DATA is not Saved.
When i leave is normal, got saved.
but when i join, my data get reset again.

Here my scripts >


Please!, Can you fix it?

Thanks!
Sorry for my English.

EDIT: Forgot to add Refresh Function.

old Re: Data Not Saved.

GeoB99
Moderator Off Offline

Quote
On join hook, you attempt to trigger the load function when a player joins which however on 6 line (Load Data part) you're telling that if a player's USGN ID is truly zero which is quite strange to me. The value parameter of USGN should be different from zero otherwise of course your data won't load. Thus, in this case:
1
if player(id, "usgn") > 0 then
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview