08.09.2009, 21:01
hey i have this:
Код:
level[playerid] = dini_Int(file, "level"); serverpoints[playerid] = dini_Int(file, "serverpoints"); SetPlayerScore(playerid, dini_Int(file, "score")); GivePlayerMoney(playerid, dini_Int(file, "money")-GetPlayerMoney(playerid)); new str[128]; format(str, sizeof(str), "You have successfully logged in , you currently have %d Server Points", serverpoints[playerid]); SendClientMessage(playerid, COLOR_YELLOW, str); printf("%s (%i) logged in with password %s", pname, playerid, params); } how could i make it so i can add the points they have in there file to the points im going to give eg they have 50 points in there file and i want to give them 50 how would i make it add them togethere