Problиme d'application sur le joueur !
#6

Je me sert de ce code la personnelement

PHP Code:
if(pInfo[playerid][pSex] == 1)
{        
    if(
pInfo[playerid][pOrigin] == 1pInfo[playerid][pSkin] = 66;
    if(
pInfo[playerid][pOrigin] == 2pInfo[playerid][pSkin] = 60;
    if(
pInfo[playerid][pOrigin] == 3pInfo[playerid][pSkin] = 117;
}
else
{
    if(
pInfo[playerid][pOrigin] == 1pInfo[playerid][pSkin] = 13;
    if(
pInfo[playerid][pOrigin] == 2pInfo[playerid][pSkin] = 55;
    if(
pInfo[playerid][pOrigin] == 3pInfo[playerid][pSkin] = 263;
}
public 
OnPlayerSpawn(playerid)
{
    
SetPlayerSkin(playerid,pInfo[playerid][pSkin]);
    
SetPlayerHealth(playerid,pInfo[playerid][pHealth]);
    
SetPlayerArmour(playerid,pInfo[playerid][pAmmour]);
    return 
1;

Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)