03.03.2010, 17:22
Hey guys. I'm using a script that save things. Money and score saves correctly
But now I wanna know how to save your waepons on relog
The working things:
At public OnPlayerConnect
GivePlayerMoney(playerid, dUserINT(PlayerName2(playerid)).("money"));
SetPlayerScore(playerid, dUserINT(PlayerName2(playerid)).("score"))
Public OnplayerDisconncet
dUserSetINT(PlayerName2(playerid)).("score",GetPla yerScore(playerid));
dUserSetINT(PlayerName2(playerid)).("weapons",GetP layerWeapon(playerid));
now how to do weapons? PLease help
But now I wanna know how to save your waepons on relog
The working things:
At public OnPlayerConnect
GivePlayerMoney(playerid, dUserINT(PlayerName2(playerid)).("money"));
SetPlayerScore(playerid, dUserINT(PlayerName2(playerid)).("score"))
Public OnplayerDisconncet
dUserSetINT(PlayerName2(playerid)).("score",GetPla yerScore(playerid));
dUserSetINT(PlayerName2(playerid)).("weapons",GetP layerWeapon(playerid));
now how to do weapons? PLease help