Forum

> > CS2D > Scripts > Data Not Saved.
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Data Not Saved.

2 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Data Not Saved.

Rygna
User Off Offline

Zitieren
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.

alt Re: Data Not Saved.

GeoB99
Moderator Off Offline

Zitieren
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
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht