Saving players last position
#3

if(!strcmp(hpass, pInfo[playerid][Password], true))
{
mysql_format(mysql, query, sizeof(query), "SELECT * FROM `players` WHERE `Username` = '%e' LIMIT 1", Name[playerid]);
mysql_tquery(mysql, query, "OnAccountLoad", "i", playerid);
pInfo[playerid][LoggedIn] = 1;
SetSpawnInfo(playerid, 0, 240, pInfo[playerid][posX], pInfo[playerid][posY], pInfo[playerid][posZ], SpawnA, 0,0,0,0,0,0);
SpawnPlayer(playerid);
}
Reply


Messages In This Thread
[FIXED]Saving players last position - by Deal-or-die - 11.05.2014, 06:23
Re: Saving players last position - by Deal-or-die - 12.05.2014, 00:00
Re: Saving players last position - by MasonSFW - 12.05.2014, 00:13
[FIXED]Re: Saving players last position - by Deal-or-die - 12.05.2014, 03:15

Forum Jump:


Users browsing this thread: 2 Guest(s)