PDA

View Full Version : Help on scores


Driver546465
24/04/2015, 07:47 PM
why my server dont save scores
when i set score to anyplayer its work but after restart the score move away


help!!!!!!!!!!

Azula
24/04/2015, 07:52 PM
what is tha system ? mysql yini ? or..
show us your code players info and OnPlayerDisconnect

Driver546465
24/04/2015, 08:01 PM
im using satdm

Azula
24/04/2015, 08:05 PM
i cant help you without codes

Driver546465
24/04/2015, 08:17 PM
the player disconnect codes ?

Azula
24/04/2015, 08:19 PM
yea and the playerinfo enume

Driver546465
24/04/2015, 08:28 PM
//==============================Player Disconnect===============================
public OnPlayerDisconnect(playerid,reason)
{
new PlayerName[30], str[128];
GetPlayerName(playerid, PlayerName, 30);
if(playerInMiniMission[playerid]>0)
{
terminarMission(playerid);
}
OnBusAsPassenger[playerid]=-1;
OnTaxiAsPassenger[playerid]=-1;
if(ServerInfo[ConnectMessages] == 1)
{
switch (reason) {
case 0: format(str, sizeof(str), "*** %s (%d) has left the server (Timeout)", PlayerName, playerid);
case 1: format(str, sizeof(str), "*** %s (%d) has left the server (Leaving)", PlayerName, playerid);
case 2: format(str, sizeof(str), "*** %s (%d) has left the server (Kicked/Banned)", PlayerName, playerid);
}
SendClientMessageToAll(COLOR_PINK, str);
}
if(PlayerInfo[playerid][LoggedIn] == 1) SavePlayer(playerid);
if(udb_Exists(PlayerName2(playerid))) dUserSetINT(PlayerName2(playerid)).("loggedin",0);
PlayerInfo[playerid][LoggedIn] = 0;
PlayerInfo[playerid][Level] = 0;
PlayerInfo[playerid][Jailed] = 0;
PlayerInfo[playerid][Frozen] = 0;

if(PlayerInfo[playerid][Jailed] == 1) KillTimer( JailTimer[playerid] );
if(PlayerInfo[playerid][Frozen] == 1) KillTimer( FreezeTimer[playerid] );
if(ServerInfo[Locked] == 1) KillTimer( LockKickTimer[playerid] );

#if defined ENABLE_SPEC
for(new x=0; x<MAX_PLAYERS; x++)
if(GetPlayerState(x) == PLAYER_STATE_SPECTATING && PlayerInfo[x][SpecID] == playerid)
AdvanceSpectate(x);
#endif
if(RaceParticipant[playerid]>=1)
{
if(Participants==1) //Last participant leaving, ending race.
{
endrace();
}
if(RaceParticipant[playerid] < 3 && RaceStart == 0 && !(RaceParticipant[playerid]==3 && RaceStart == 1))
{ //Doing readycheck since someone left, but not if they disconnected during countdown.
ReadyRefresh(playerid);
}
Participants--;
RaceParticipant[playerid]=0;
DisablePlayerRaceCheckpoint(playerid);
}
if(RaceBuilders[playerid] != 0)
{
DisablePlayerRaceCheckpoint(playerid);
for(new i;i<BCurrentCheckpoints[b(playerid)];i++)
{
BRaceCheckpoints[b(playerid)][i][0]=0.0;
BRaceCheckpoints[b(playerid)][i][1]=0.0;
BRaceCheckpoints[b(playerid)][i][2]=0.0;
}
BuilderSlots[b(playerid)] = GetMaxPlayers()+1;
RaceBuilders[playerid] = 0;
}
new leaveMsg[128], playname[MAX_PLAYER_NAME], reasonMsg[8];
switch(reason)
{
case 0: { reasonMsg = "Timeout"; }
case 1: { reasonMsg = "Leaving"; }
case 2: { reasonMsg = "Kicked"; }
}
GetPlayerName(playerid, playname, sizeof(playname));
format(leaveMsg, sizeof(leaveMsg), "02[%d] 04*** %s has left the server. (%s)", playerid, playname, reasonMsg);
IRC_GroupSay(gGroupID, IRC_CHANNEL, leaveMsg);

InShamal[playerid] = 0;
InAndrom[playerid] = 0;
TextDrawHideForPlayer(playerid,vehiclehpbar[playerid]);
KZI_OnPlayerDisconnect( playerid, reason );
return 1;
}
{
enum pInfo
{
bool:SpawnDance,
Float:SpawnAngle,
SpawnTimer,
name[MAX_PLAYER_NAME],
bowner,
bowned,
pass,
pcash,
bank,
team,
Jailed,
vhpb,
weed,
gang,
condoms,
inalcatraz,

Registered,
LoggedIn,
Level,
Muted,
Caps,
LJailTime,
Frozen,
FreezeTime,
Kills,
Deaths,
hours,
mins,
secs,
TotalTime,
ConnectTime,
MuteWarnings,
Warnings,
Spawned,
TimesSpawned,
God,
DoorsLocked,
SpamCount,
SpamTime,
PingCount,
PingTime,
BotPing,
pPing[PING_MAX_EXCEEDS],
blip,
blipS,
pColour,
SpecID,
SpecType,
bool:AllowedIn,
FailLogin,
vowned,
vowner,
vowned2,
vowner2,
vowned3,
vowner3,
vowned4,
vowner4,
vowned5,
vowner5,
vowned6,
vowner6,
vowned7,
vowner7,
vowned8,
vowner8,
vowned9,
vowner9,
vowned10,
vowner10,

Driver546465
25/04/2015, 12:34 PM
Help

Mencent
25/04/2015, 12:54 PM
Hello!

We need the funtion SavePlayer(playerid);.

Mencent :cool:

Driver546465
25/04/2015, 12:56 PM
i have LoginPlayer and under it some codes but SavePlayer(playerid); no

Driver546465
25/04/2015, 12:58 PM
ah i found it

SavePlayer(playerid)
{
new PlayerName[24];
GetPlayerName(playerid,PlayerName,24);
new file[256]; format(file,256,"/ladmin/users/%s.sav",udb_encode(PlayerName));
if(PlayerInfo[playerid][LoggedIn] == 1){
dUserSetINT(PlayerName2(playerid)).("money",GetPlayerMoney(playerid));
dUserSetINT(PlayerName2(playerid)).("kills",PlayerInfo[playerid][Kills]);
dUserSetINT(PlayerName2(playerid)).("deaths",PlayerInfo[playerid][Deaths]);

new h, m, s;
TotalGameTime(playerid, h, m, s);

dUserSetINT(PlayerName2(playerid)).("hours", h);
dUserSetINT(PlayerName2(playerid)).("minutes", m);
dUserSetINT(PlayerName2(playerid)).("seconds", s);

new Float:x,Float:y,Float:z, interior;
GetPlayerPos(playerid,x,y,z); interior = GetPlayerInterior(playerid);
dUserSetINT(PlayerName2(playerid)).("x1",floatround(x));
dUserSetINT(PlayerName2(playerid)).("y1",floatround(y));
dUserSetINT(PlayerName2(playerid)).("z1",floatround(z));
dUserSetINT(PlayerName2(playerid)).("interior1",interior);

new weap1, ammo1, weap2, ammo2, weap3, ammo3, weap4, ammo4, weap5, ammo5, weap6, ammo6;
GetPlayerWeaponData(playerid,2,weap1,ammo1);// hand gun
GetPlayerWeaponData(playerid,3,weap2,ammo2);//shotgun
GetPlayerWeaponData(playerid,4,weap3,ammo3);// SMG
GetPlayerWeaponData(playerid,5,weap4,ammo4);// AK47 / M4
GetPlayerWeaponData(playerid,6,weap5,ammo5);// rifle
GetPlayerWeaponData(playerid,7,weap6,ammo6);// rocket launcher
dUserSetINT(PlayerName2(playerid)).("weap1",weap1); dUserSetINT(PlayerName2(playerid)).("weap1ammo",ammo1);
dUserSetINT(PlayerName2(playerid)).("weap2",weap2); dUserSetINT(PlayerName2(playerid)).("weap2ammo",ammo2);
dUserSetINT(PlayerName2(playerid)).("weap3",weap3); dUserSetINT(PlayerName2(playerid)).("weap3ammo",ammo3);
dUserSetINT(PlayerName2(playerid)).("weap4",weap4); dUserSetINT(PlayerName2(playerid)).("weap4ammo",ammo4);
dUserSetINT(PlayerName2(playerid)).("weap5",weap5); dUserSetINT(PlayerName2(playerid)).("weap5ammo",ammo5);
dUserSetINT(PlayerName2(playerid)).("weap6",weap6); dUserSetINT(PlayerName2(playerid)).("weap6ammo",ammo6);

new Float:health; GetPlayerHealth(playerid, Float:health);
new Float:armour; GetPlayerArmour(playerid, Float:armour);
new year,month,day; getdate(year, month, day);
new strdate[20]; format(strdate, sizeof(strdate), "%d.%d.%d",day,month,year);

dUserSetINT(PlayerName2(playerid)).("health",floatround(health));
dUserSetINT(PlayerName2(playerid)).("armour",floatround(armour));
dini_Set(file,"LastOn",strdate);
dUserSetINT(PlayerName2(playerid)).("loggedin",0);
dUserSetINT(PlayerName2(playerid)).("TimesOnServer",(dUserINT(PlayerName2(playerid)).("TimesOnServer"))+1);

dUserSetINT(PlayerName2(playerid)).("Bank",PlayerInfo[playerid][bank]);
dUserSetINT(PlayerName2(playerid)).("bowner",PlayerInfo[playerid][bowner]);
dUserSetINT(PlayerName2(playerid)).("bowned",PlayerInfo[playerid][bowned]);
dUserSetINT(PlayerName2(playerid)).("weed",PlayerInfo[playerid][weed]);
dUserSetINT(PlayerName2(playerid)).("Gang",PlayerInfo[playerid][gang]);
dUserSetINT(PlayerName2(playerid)).("Condoms",PlayerInfo[playerid][condoms]);
dUserSetINT(PlayerName2(playerid)).("inalcatraz",PlayerInfo[playerid][inalcatraz]);
dUserSetINT(PlayerName2(playerid)).("vowned",PlayerInfo[playerid][vowned]);
dUserSetINT(PlayerName2(playerid)).("vowner",PlayerInfo[playerid][vowner]);
dUserSetINT(PlayerName2(playerid)).("vowned2",PlayerInfo[playerid][vowned2]);
dUserSetINT(PlayerName2(playerid)).("vowner2",PlayerInfo[playerid][vowner2]);
dUserSetINT(PlayerName2(playerid)).("vowned3",PlayerInfo[playerid][vowned3]);
dUserSetINT(PlayerName2(playerid)).("vowner3",PlayerInfo[playerid][vowner3]);
dUserSetINT(PlayerName2(playerid)).("vowned4",PlayerInfo[playerid][vowned4]);
dUserSetINT(PlayerName2(playerid)).("vowner4",PlayerInfo[playerid][vowner4]);
dUserSetINT(PlayerName2(playerid)).("vowned5",PlayerInfo[playerid][vowned5]);
dUserSetINT(PlayerName2(playerid)).("vowner5",PlayerInfo[playerid][vowner5]);
dUserSetINT(PlayerName2(playerid)).("vowned6",PlayerInfo[playerid][vowned6]);
dUserSetINT(PlayerName2(playerid)).("vowner6",PlayerInfo[playerid][vowner6]);
dUserSetINT(PlayerName2(playerid)).("vowned7",PlayerInfo[playerid][vowned7]);
dUserSetINT(PlayerName2(playerid)).("vowner7",PlayerInfo[playerid][vowner7]);
dUserSetINT(PlayerName2(playerid)).("vowned8",PlayerInfo[playerid][vowned8]);
dUserSetINT(PlayerName2(playerid)).("vowner8",PlayerInfo[playerid][vowner8]);
dUserSetINT(PlayerName2(playerid)).("vowned9",PlayerInfo[playerid][vowned9]);
dUserSetINT(PlayerName2(playerid)).("vowner9",PlayerInfo[playerid][vowner9]);
dUserSetINT(PlayerName2(playerid)).("vowned10",PlayerInfo[playerid][vowned10]);
dUserSetINT(PlayerName2(playerid)).("vowner10",PlayerInfo[playerid][vowner10]);
}
}

Mencent
25/04/2015, 01:18 PM
SavePlayer(playerid)
{
new PlayerName[MAX_PLAYER_NAME],file[44],h,m,s,Float:x,Float:y,Float:z,interior,weap[6],Amm[6],Float:health,Float:armour,year,month,day,strdate[20];
GetPlayerName(playerid,PlayerName,sizeof PlayerName);
format(file,sizeof file,"/ladmin/users/%s.sav",udb_encode(PlayerName));
if(PlayerInfo[playerid][LoggedIn] == 1)
{
dUserSetINT(PlayerName2(playerid)).("money",GetPlayerMoney(playerid));
dUSerSetINT(PlayerName2(playerid)).("kills",PlayerInfo[playerid][Kills]);
dUserSetINT(PlayerName2(playerid)).("deaths",PlayerInfo[playerid][Deaths]);
TotalGameTime(playerid,h,m,s);
dUserSetINT(PlayerName2(playerid)).("hours",h);
dUserSetINT(PlayerName2(playerid)).("minutes",m);
dUserSetINT(PlayerName2(playerid)).("seconds",s);
GetPlayerPos(playerid,x,y,z);
interior = GetPlayerInterior(playerid);
dUserSetINT(PlayerName2(playerid)).("x1",floatround(x));
dUserSetINT(PlayerName2(playerid)).("y1",floatround(y));
dUserSetINT(PlayerName2(playerid)).("z1",floatround(z));
dUserSetINT(PlayerName2(playerid)).("interior1",interior);
GetPlayerWeaponData(playerid,2,weap[0],Amm[0]);//hand gun
GetPlayerWeaponData(playerid,3,weap[1],Amm[1]);//shotgun
GetPlayerWeaponData(playerid,4,weap[2],Amm[2]);//SMG
GetPlayerWeaponData(playerid,5,weap[3],Amm[3]);//AK47 / M4
GetPlayerWeaponData(playerid,6,weap[4],Amm[4]);//Rifle
GetPlayerWeaponData(playerid,7,weap[5],Amm[5]);//rocket launcher
dUserSetINT(PlayerName2(playerid)).("weap1",weap[0]),dUserSetINT(PlayerName2(playerid)).("weap1ammo",Amm[0]);
dUserSetINT(PlayerName2(playerid)).("weap2",weap[1]),dUserSetINT(PlayerName2(playerid)).("weap2ammo",Amm[1]);
dUserSetINT(PlayerName2(playerid)).("weap3",weap[2]),dUserSetINT(PlayerName2(playerid)).("weap3ammo",Amm[2]);
dUserSetINT(PlayerName2(playerid)).("weap4",weap[3]),dUserSetINT(PlayerName2(playerid)).("weap4ammo",Amm[3]);
dUserSetINT(PlayerName2(playerid)).("weap5",weap[4]),dUserSetINT(PlayerName2(playerid)).("weap5ammo",Amm[4]);
dUserSetINT(PlayerName2(playerid)).("weap6",weap[5]),dUserSetINT(PlayerName2(playerid)).("weap6ammo",Amm[5]);
GetPlayerHealth(playerid,health);
GetPlayerArmour(playerid,armour);
getdate(year,month,day);
format(strdate,sizeof strdate,"%d.%d.%d",day,month,year);
dUserSetINT(PlayerName2(playerid)).("health",floatround(health));
dUserSetINT(PlayerName2(playerid)).("armour",floatround(armour));
dini_Set(file,"LastOn",strdate);
dUserSetINT(PlayerName2(playerid)).("loggedin",0);
dUserSetINT(PlayerName2(playerid)).("TimesOnServer",(dUserINT(PlayerName2(playerid)).("TimesOnServer"))+1);
dUserSetINT(PlayerName2(playerid)).("Bank",PlayerInfo[playerid][bank]);
dUserSetINT(PlayerName2(playerid)).("level",PlayerInfo[playerid][Level]);
dUserSetINT(PlayerName2(playerid)).("bowner",PlayerInfo[playerid][bowner]);
dUserSetINT(PlayerName2(playerid)).("bowned",PlayerInfo[playerid][bowned]);
dUserSetINT(PlayerName2(playerid)).("weed",PlayerInfo[playerid][weed]);
dUserSetINT(PlayerName2(playerid)).("Gang",PlayerInfo[playerid][gang]);
dUserSetINT(PlayerName2(playerid)).("Condoms",PlayerInfo[playerid][condoms]);
dUserSetINT(PlayerName2(playerid)).("inalcatraz",PlayerInfo[playerid][inalcatraz]);
dUserSetINT(PlayerName2(playerid)).("vowned",PlayerInfo[playerid][vowned]);
dUserSetINT(PlayerName2(playerid)).("vowner",PlayerInfo[playerid][vowner]);
dUserSetINT(PlayerName2(playerid)).("vowned2",PlayerInfo[playerid][vowned2]);
dUserSetINT(PlayerName2(playerid)).("vowner2",PlayerInfo[playerid][vowner2]);
dUserSetINT(PlayerName2(playerid)).("vowned3",PlayerInfo[playerid][vowned3]);
dUserSetINT(PlayerName2(playerid)).("vowner3",PlayerInfo[playerid][vowner3]);
dUserSetINT(PlayerName2(playerid)).("vowned4",PlayerInfo[playerid][vowned4]);
dUserSetINT(PlayerName2(playerid)).("vowner4",PlayerInfo[playerid][vowner4]);
dUserSetINT(PlayerName2(playerid)).("vowned5",PlayerInfo[playerid][vowned5]);
dUserSetINT(PlayerName2(playerid)).("vowner5",PlayerInfo[playerid][vowner5]);
dUserSetINT(PlayerName2(playerid)).("vowned6",PlayerInfo[playerid][vowned6]);
dUserSetINT(PlayerName2(playerid)).("vowner6",PlayerInfo[playerid][vowner6]);
dUserSetINT(PlayerName2(playerid)).("vowned7",PlayerInfo[playerid][vowned7]);
dUserSetINT(PlayerName2(playerid)).("vowner7",PlayerInfo[playerid][vowner7]);
dUserSetINT(PlayerName2(playerid)).("vowned8",PlayerInfo[playerid][vowned8]);
dUserSetINT(PlayerName2(playerid)).("vowner8",PlayerInfo[playerid][vowner8]);
dUserSetINT(PlayerName2(playerid)).("vowned9",PlayerInfo[playerid][vowned9]);
dUserSetINT(PlayerName2(playerid)).("vowner9",PlayerInfo[playerid][vowner9]);
dUserSetINT(PlayerName2(playerid)).("vowned10",PlayerInfo[playerid][vowned10]);
dUserSetINT(PlayerName2(playerid)).("vowner10",PlayerInfo[playerid][vowner10]);
}
return 1;
}
dUserSetINT(PlayerName2(playerid)).("level",PlayerInfo[playerid][Level]);
Maybe you have to adjust this still, because spelling.

Mencent :cool:

Driver546465
25/04/2015, 01:24 PM
where is dialog i cant see any dialog on login

Mencent
25/04/2015, 01:33 PM
SavePlayer(playerid)
{
new PlayerName[24];
GetPlayerName(playerid,PlayerName,24);
new file[256]; format(file,256,"/ladmin/users/%s.sav",udb_encode(PlayerName));
if(PlayerInfo[playerid][LoggedIn] == 1){
dUserSetINT(PlayerName2(playerid)).("money",GetPla yerMoney(playerid));
dUserSetINT(PlayerName2(playerid)).("kills",Player Info[playerid][Kills]);
dUserSetINT(PlayerName2(playerid)).("deaths",Playe rInfo[playerid][Deaths]);

new h, m, s;
TotalGameTime(playerid, h, m, s);

dUserSetINT(PlayerName2(playerid)).("hours", h);
dUserSetINT(PlayerName2(playerid)).("minutes", m);
dUserSetINT(PlayerName2(playerid)).("seconds", s);

new Float,Float:y,Float:z, interior;
GetPlayerPos(playerid,x,y,z); interior = GetPlayerInterior(playerid);
dUserSetINT(PlayerName2(playerid)).("x1",floatroun d(x));
dUserSetINT(PlayerName2(playerid)).("y1",floatroun d(y));
dUserSetINT(PlayerName2(playerid)).("z1",floatroun d(z));
dUserSetINT(PlayerName2(playerid)).("interior1",in terior);

new weap1, ammo1, weap2, ammo2, weap3, ammo3, weap4, ammo4, weap5, ammo5, weap6, ammo6;
GetPlayerWeaponData(playerid,2,weap1,ammo1);// hand gun
GetPlayerWeaponData(playerid,3,weap2,ammo2);//shotgun
GetPlayerWeaponData(playerid,4,weap3,ammo3);// SMG
GetPlayerWeaponData(playerid,5,weap4,ammo4);// AK47 / M4
GetPlayerWeaponData(playerid,6,weap5,ammo5);// rifle
GetPlayerWeaponData(playerid,7,weap6,ammo6);// rocket launcher
dUserSetINT(PlayerName2(playerid)).("weap1",weap1) ; dUserSetINT(PlayerName2(playerid)).("weap1ammo",am mo1);
dUserSetINT(PlayerName2(playerid)).("weap2",weap2) ; dUserSetINT(PlayerName2(playerid)).("weap2ammo",am mo2);
dUserSetINT(PlayerName2(playerid)).("weap3",weap3) ; dUserSetINT(PlayerName2(playerid)).("weap3ammo",am mo3);
dUserSetINT(PlayerName2(playerid)).("weap4",weap4) ; dUserSetINT(PlayerName2(playerid)).("weap4ammo",am mo4);
dUserSetINT(PlayerName2(playerid)).("weap5",weap5) ; dUserSetINT(PlayerName2(playerid)).("weap5ammo",am mo5);
dUserSetINT(PlayerName2(playerid)).("weap6",weap6) ; dUserSetINT(PlayerName2(playerid)).("weap6ammo",am mo6);

new Float:health; GetPlayerHealth(playerid, Float:health);
new Float:armour; GetPlayerArmour(playerid, Float:armour);
new year,month,day; getdate(year, month, day);
new strdate[20]; format(strdate, sizeof(strdate), "%d.%d.%d",day,month,year);

dUserSetINT(PlayerName2(playerid)).("health",float round(health));
dUserSetINT(PlayerName2(playerid)).("armour",float round(armour));
dini_Set(file,"LastOn",strdate);
dUserSetINT(PlayerName2(playerid)).("loggedin",0);
dUserSetINT(PlayerName2(playerid)).("TimesOnServer ",(dUserINT(PlayerName2(playerid)).("TimesOnServer "))+1);

dUserSetINT(PlayerName2(playerid)).("Bank",PlayerI nfo[playerid][bank]);
dUserSetINT(PlayerName2(playerid)).("level",PlayerInfo[playerid][Level]);
dUserSetINT(PlayerName2(playerid)).("bowner",Playe rInfo[playerid][bowner]);
dUserSetINT(PlayerName2(playerid)).("bowned",Playe rInfo[playerid][bowned]);
dUserSetINT(PlayerName2(playerid)).("weed",PlayerI nfo[playerid][weed]);
dUserSetINT(PlayerName2(playerid)).("Gang",PlayerI nfo[playerid][gang]);
dUserSetINT(PlayerName2(playerid)).("Condoms",Play erInfo[playerid][condoms]);
dUserSetINT(PlayerName2(playerid)).("inalcatraz",P layerInfo[playerid][inalcatraz]);
dUserSetINT(PlayerName2(playerid)).("vowned",Playe rInfo[playerid][vowned]);
dUserSetINT(PlayerName2(playerid)).("vowner",Playe rInfo[playerid][vowner]);
dUserSetINT(PlayerName2(playerid)).("vowned2",Play erInfo[playerid][vowned2]);
dUserSetINT(PlayerName2(playerid)).("vowner2",Play erInfo[playerid][vowner2]);
dUserSetINT(PlayerName2(playerid)).("vowned3",Play erInfo[playerid][vowned3]);
dUserSetINT(PlayerName2(playerid)).("vowner3",Play erInfo[playerid][vowner3]);
dUserSetINT(PlayerName2(playerid)).("vowned4",Play erInfo[playerid][vowned4]);
dUserSetINT(PlayerName2(playerid)).("vowner4",Play erInfo[playerid][vowner4]);
dUserSetINT(PlayerName2(playerid)).("vowned5",Play erInfo[playerid][vowned5]);
dUserSetINT(PlayerName2(playerid)).("vowner5",Play erInfo[playerid][vowner5]);
dUserSetINT(PlayerName2(playerid)).("vowned6",Play erInfo[playerid][vowned6]);
dUserSetINT(PlayerName2(playerid)).("vowner6",Play erInfo[playerid][vowner6]);
dUserSetINT(PlayerName2(playerid)).("vowned7",Play erInfo[playerid][vowned7]);
dUserSetINT(PlayerName2(playerid)).("vowner7",Play erInfo[playerid][vowner7]);
dUserSetINT(PlayerName2(playerid)).("vowned8",Play erInfo[playerid][vowned8]);
dUserSetINT(PlayerName2(playerid)).("vowner8",Play erInfo[playerid][vowner8]);
dUserSetINT(PlayerName2(playerid)).("vowned9",Play erInfo[playerid][vowned9]);
dUserSetINT(PlayerName2(playerid)).("vowner9",Play erInfo[playerid][vowner9]);
dUserSetINT(PlayerName2(playerid)).("vowned10",Pla yerInfo[playerid][vowned10]);
dUserSetINT(PlayerName2(playerid)).("vowner10",Pla yerInfo[playerid][vowner10]);
}
}
And so?

What are you doing there? Did you replace your code with mine?

Mencent :cool:

Driver546465
25/04/2015, 03:07 PM
nothing i cant see any dialog when i join server

Mencent
25/04/2015, 05:29 PM
Compile your script with the crashdetect plugin, what show the plugin if you want to login?

Mencent :cool: