Skin Change Problem!
#1

Help me guys! I have here a script from my friend and I want to change the randomskin to what I want. But how? Can anybody help me?
For Male - 299
For Female - 298

PHP код:
  new randomskin;
    if(
PlayerInfo[playerid][pGender] == 1) { randomskin random(sizeof(CivPedsMale)); }
    else if(
PlayerInfo[playerid][pGender] == 2) { randomskin random(sizeof(CivPedsFemale)); }
    
SetPlayerSkin(playeridrandomskin);SetPlayerSkin()
    new 
playerskin GetPlayerSkin(playerid);
    
PlayerInfo[playerid][pModel] = playerskin;
    
PlayerInfo[playerid][pNew] = 1;
    
PlayerInfo[playerid][pFightStyle] = FIGHT_STYLE_NORMAL;
    
PlayerInfo[playerid][pHealth] = 100;
    
SetPlayerHealth(playerid100);
    
PlayerInfo[playerid][pArmor] = 0;
    
PlayerInfo[playerid][pDead] = 0;
    
SetPlayerScore(playeridPlayerInfo[playerid][pLevel]);
    
SetPlayerColor(playeridTRANSPARENT_WHITE);
    return 
1;

Reply


Messages In This Thread
Skin Change Problem! - by RalphHaro - 30.05.2013, 21:01
Re: Skin Change Problem! - by mahdi499 - 30.05.2013, 21:29
Re: Skin Change Problem! - by RalphHaro - 30.05.2013, 21:33

Forum Jump:


Users browsing this thread: 2 Guest(s)