View Single Post
Xalus
Veteran Member
Join Date: Dec 2009
Location: Belgium
Old 06-21-2012 , 17:37   Re: JailBreak Achievements System v1.0.0 [NapoleoN#]
Reply With Quote #5

PHP Code:
    switch(iAchLevel[read_data(1)][SNEAKY]) {
        case 
100: {
            
TotalAchievements[read_data(1)]++
            
ColorChat(read_data(1), GREEN"[Achievements]^1 Congratulations! You have unlocked the achievement:^3 Sneaky...")
            
emit_sound(read_data(1), CHAN_STATICszAchievementSound1.0ATTN_NORM0PITCH_NORM)
        }
    } 
1. Should be done on a way better way. (Use stock orso)
2. Whats the point of using switch there? :s
__________________
Retired.
Xalus is offline