TextDrawSetString
#1

I haven't posted here in ages, but here's the problem:

I can't get the text draw string or skin to change!

Code:
pawn Код:
if( PRESSED( KEY_LEFT ) )
    {
        new stringSkinPicker[20];
        if(userRegStep[playerid] == REG_STEP_SKIN || inSkinSelection[playerid] == 1)
        {
            userSkinPickerSkin[playerid]++;
            if(userSkinPickerSkin[playerid] == 299)
            {
                userSkinPickerSkin[playerid] = 0;
            }
            SetPlayerSkin(playerid, userSkinPickerSkin[playerid]);
            format(stringSkinPicker, 20, "~<~ %d ~>~", GetPlayerSkin(playerid));
            TextDrawSetString(SkinPicker3[playerid], stringSkinPicker);
        }
    }

    if( PRESSED( KEY_RIGHT ) )
    {
        new stringSkinPicker[20];
        if(userRegStep[playerid] == REG_STEP_SKIN || inSkinSelection[playerid] == 1)
        {
            userSkinPickerSkin[playerid]--;
            if(userSkinPickerSkin[playerid] == 0)
            {
                userSkinPickerSkin[playerid] = 299;
            }
            SetPlayerSkin(playerid, userSkinPickerSkin[playerid]);
            format(stringSkinPicker, 20, "~<~ %d ~>~", GetPlayerSkin(playerid));
            TextDrawSetString(SkinPicker3[playerid], stringSkinPicker);
        }
    }
Thanks a lot, guys.
Reply


Messages In This Thread
TextDrawSetString - by SchurmanCQC - 01.02.2012, 22:21
Re: TextDrawSetString - by MP2 - 01.02.2012, 22:30
Re: TextDrawSetString - by SchurmanCQC - 01.02.2012, 22:32
Re: TextDrawSetString - by MP2 - 01.02.2012, 22:39
Re: TextDrawSetString - by SchurmanCQC - 01.02.2012, 22:40
Respuesta: TextDrawSetString - by OPremium - 01.02.2012, 22:42
Re: TextDrawSetString - by ғαιιοцт - 01.02.2012, 22:43
Re: Respuesta: TextDrawSetString - by SchurmanCQC - 01.02.2012, 22:43
Re: TextDrawSetString - by MP2 - 01.02.2012, 22:45
Re: Respuesta: TextDrawSetString - by ғαιιοцт - 01.02.2012, 23:18

Forum Jump:


Users browsing this thread: 2 Guest(s)