How do i make this intro a proper switch?
#2

pawn Код:
forward public rankcheck(playerid);

public rankcheck(playerid)
{
    switch(User[playerid][USER_EXP])
    {
        case 0: User[playerid][USER_RANK] = 0;
        case 500: User[playerid][USER_RANK] = 1;
        case 1000: User[playerid][USER_RANK] = 2;
        // And so on
    }
    return true;
}
Reply


Messages In This Thread
How do i make this intro a proper switch? - by Voxel - 02.12.2013, 16:45
Re: How do i make this intro a proper switch? - by iZN - 02.12.2013, 16:50
Re: How do i make this intro a proper switch? - by Voxel - 02.12.2013, 16:52

Forum Jump:


Users browsing this thread: 1 Guest(s)