pInfo[playerid][skinas]=dini_Int(file,"Skinas"); //Skin
pInfo[playerid][lytis]=dini_Int(file,"Lytis"); //Gender
dini_IntSet(file, "Skinas", GetPlayerSkin(playerid)); //Skin
dini_IntSet(file,"Lytis",pInfo[playerid][lytis]); //Gender
ShowPlayerDialog(playerid,3,DIALOG_STYLE_MSGBOX,"Lytis","{FFFFFF}Jus esate...?","Vyras","Moteris");
if(dialogid == 3)
{
if(response)
{
SendClientMessage(playerid,GREEN,"Jus esate vyras."); // You are male
SetPlayerSkin(playerid,188);
pInfo[playerid][lytis]=1; //Gender
pInfo[playerid][skinas]=188; //Skin
}
if(!response)
{
SendClientMessage(playerid,GREEN,"Jus esate moteris."); // You are female
SetPlayerSkin(playerid,93);
pInfo[playerid][lytis]=2; //Gender
pInfo[playerid][skinas]=93; //Skin
return 1;
}
if(response) { blabla } else { (blabla) }
I think you put the wrong skin then.. try switching them. in other language: apkeisk skinus
|
public OnGameModeInit()
{
AddPlayerClass(188,-90.0319,1229.1438,19.7422,179.0934,0,0,0,0,0,0); the MAle skin
AddPlayerClass(174,-90.0319,1229.1438,19.7422,179.0934,0,0,0,0,0,0);
AddPlayerClass(93,-90.0319,1229.1438,19.7422,179.0934,0,0,0,0,0,0);