06.11.2006, 09:17
Old Script, No Longer Developed/Supported. Dead Links.
public udb_encode(nickname[]) {
new tmp[MAX_STRING];
new str[MAX_STRING];
set(tmp,nickname);
tmp=strreplace("_"," 00",tmp);
tmp=strreplace(";"," 01",tmp);
tmp=strreplace("!"," 02",tmp);
tmp=strreplace("/"," 03",tmp);
tmp=strreplace("\\"," 04",tmp);
tmp=strreplace("["," 05",tmp);
tmp=strreplace("]"," 06",tmp);
tmp=strreplace("?"," 07",tmp);
tmp=strreplace("."," 08",tmp);
tmp=strreplace("*"," 09",tmp);
tmp=strreplace("<"," 10",tmp);
tmp=strreplace(">"," 11",tmp);
tmp=strreplace("{"," 12",tmp);
tmp=strreplace("}"," 13",tmp);
format(str,sizeof(str),"stats-%s",tmp);
return str;
}
format(string, sizeof(string), "Cash: $%d Kills: %d Deaths: %d Ratio: %0.2f", GetPlayerMoney(idplayer), KillCount[playerid], DeathCount[idplayer], Float:KillCount[idplayer]/FloateathCount[idplayer]); |
if(DeathCount[playerid] == 0 && kills >= 0)
if(fexist(encode(PlayerName(playerid))))
{
SendClientMessage(playerid, COLOR_YELLOW, "<SSU v1.1> Stats Restored!");
//Restore Stats.....
Originally Posted by darkwatch
Look at the date of the last post... 2006. It was made for 0.1
|
Originally Posted by [GG
THEGAME ]
When you go back in the server, it resets your stats |
Originally Posted by [GG
THEGAME ]
Who me? |