19.02.2008, 13:34
hi,
i made a driver license script and want to save wether a player got one ore not but i really dont know how!?
erm i mean what ive to do that it save that? i tried to save it as team (if you got the license ur in the TEAM_LICENSED..)
but i dont work
plz help me!
solved..
now i got this code on OnPlayerDisconnect:
on my login in command:
of course:
it "works" and theres the line
in the scriptfiles file^^(and it changes from 0 to 1)
but when i reconnct the server its resetted to 0 ??
whats the prob?
just a very nubish mistake^^
forgot to change the "level" to "license" -.-
solved....
greetz
i made a driver license script and want to save wether a player got one ore not but i really dont know how!?
erm i mean what ive to do that it save that? i tried to save it as team (if you got the license ur in the TEAM_LICENSED..)
but i dont work
plz help me!
solved..
now i got this code on OnPlayerDisconnect:
Код:
dUserSetINT(PlayerName(playerid)).("License",license[playerid]);
Код:
license[playerid] = dUserINT(PlayerName(playerid)).("Level");
Код:
new license[MAX_PLAYERS];
Код:
License=0
but when i reconnct the server its resetted to 0 ??
whats the prob?
just a very nubish mistake^^
forgot to change the "level" to "license" -.-
solved....
greetz