[help] Skin....
#2

I get what you mean. It teleports them to an arena, gives them a skin, and they fight with sawnoffs right? Well if so;

Try saving it into a variable, for example:

Код:
if (strcmp("/sawnoff", cmdtext, true, 10) == 0)
{
    new pskin;
    new Float:pX, Float:pY, Float:pZ;
    pskin = (GetPlayerSkin(playerid));
    GetPlayerPos(playerid,pX,pY,pZ);
    if(pArena[playerid] == NONE)
    {
        SetPlayerSkin(playerid,55);
        SetPlayerPos(playerid,1549.0627,-1675.7617,14.8003);
    }
    else
    {
        SetPlayerPos(playerid,pX,pY,pZ);
        SetPlayerSkin(playerid,pskin);
    }
    return 1;
}
NOTE: This script won't work for you, it is only a base. Some of the variables and such will need to be changed, but the idea should work.
Reply


Messages In This Thread
[help] Skin.... - by [eF]ThundeR - 10.01.2010, 09:48
Re: [help] Skin.... - by spartan1178 - 10.01.2010, 09:57
Re: [help] Skin.... - by Think - 10.01.2010, 09:58

Forum Jump:


Users browsing this thread: 1 Guest(s)