Doubt with ColorFix
#4

What about this?

pawn Код:
stock SetPlayerColor2(playerid)
{
    new NumberOfColors, colorid;
    NumberOfColors = sizeof(PlayerColors);
    colorid = playerid;
    while(colorid >= NumberOfColors)
    {
        colorid = colorid - NumberOfColors;
    }
    return SetPlayerColor(playerid, PlayerColors[colorid]);
}

public OnPlayerConnect(playerid)
{
    SetPlayerColor2(playerid);
    return 1;
}
Reply


Messages In This Thread
Doubt with ColorFix - by Gryphus One - 11.11.2012, 00:24
AW: Doubt with ColorFix - by Nero_3D - 11.11.2012, 00:30
Respuesta: AW: Doubt with ColorFix - by Gryphus One - 11.11.2012, 17:23
Respuesta: Doubt with ColorFix - by Gryphus One - 12.11.2012, 13:13
AW: Doubt with ColorFix - by Nero_3D - 13.11.2012, 17:06
Respuesta: Doubt with ColorFix - by Gryphus One - 13.11.2012, 23:52

Forum Jump:


Users browsing this thread: 1 Guest(s)