Not spawning with players Skin ID
#4

Quote:
Originally Posted by Windows32
Посмотреть сообщение
pawn Код:
stock LoadStats(playerid)
{
    new pName[24],Query[80];
    GetPlayerName(playerid,pName,24);
    format(Query,sizeof(Query), "SELECT * FROM `Users` WHERE `Username` = '%s';", pName);
    mysql_query(Query);
    mysql_store_result();
    mysql_fetch_row_format(Query, "|");
    sscanf(Query, "e<p<|>s[24]s[23]ddddfffdddd>", PInfo[playerid]);
    mysql_free_result();
    GivePlayerMoney(playerid,PInfo[playerid][Money]);
    SetSpawnInfo(playerid, 0, PInfo[playerid][SkinID], PInfo[playerid][PosX], PInfo[playerid][PosY], PInfo[playerid][PosZ], 10, 0,0,0,0,0,0);
    SpawnPlayer(playerid);
    SetPlayerScore(playerid, PInfo[playerid][Level]);
    return 1;
}
Try this.
What did you do except taking out the SetPlayerSkin? Lol?

EDIT: BTW Simon, when posting PAWN code it is better to use [PAWN][//Pawn](Remove one of the /).
Reply


Messages In This Thread
Not spawning with players Skin ID - by simon92922 - 09.06.2012, 22:22
Re: Not spawning with players Skin ID - by JhnzRep - 09.06.2012, 22:23
Re: Not spawning with players Skin ID - by Elysian` - 09.06.2012, 22:27
Re: Not spawning with players Skin ID - by JhnzRep - 09.06.2012, 22:28
Re: Not spawning with players Skin ID - by simon92922 - 09.06.2012, 22:38
Re: Not spawning with players Skin ID - by JhnzRep - 09.06.2012, 22:42
Re: Not spawning with players Skin ID - by simon92922 - 09.06.2012, 22:45
Re: Not spawning with players Skin ID - by JhnzRep - 09.06.2012, 22:50
Re: Not spawning with players Skin ID - by Kitten - 09.06.2012, 22:51
Re: Not spawning with players Skin ID - by simon92922 - 09.06.2012, 23:08

Forum Jump:


Users browsing this thread: 5 Guest(s)