23.03.2011, 12:58
pawn Код:
public LoginAcc(playerid, name[ ], value[ ])
{
if(strcmp(name,"Password"))
{
SetPVarString(playerid,"pass",value);
PInfo[playerid][Level] = strval(value);
PInfo[playerid][VIP] = strval(value);
PInfo[playerid][Cash] = strval(value);
PInfo[playerid][Score] = strval(value);
PInfo[playerid][Kills] = strval(value);
PInfo[playerid][Deaths] = strval(value);
PInfo[playerid][Horn] = strval(value);
}
return 1;
}
pawn Код:
public LoginAcc(playerid, name[ ], value[ ])
{
if(!strcmp(name,"Password"))
{
SetPVarString(playerid,"pass",value);
PInfo[playerid][Level] = strval(value);
PInfo[playerid][VIP] = strval(value);
PInfo[playerid][Cash] = strval(value);
PInfo[playerid][Score] = strval(value);
PInfo[playerid][Kills] = strval(value);
PInfo[playerid][Deaths] = strval(value);
PInfo[playerid][Horn] = strval(value);
}
return 1;
}