Character selection text
#2

Yeah, you can use a textdraw (TextDrawCreate) or a gametext (GameTextForPlayer) under a callback called OnPlayerRequestClass in the following manner:

pawn Код:
public OnPlayerRequestClass(playerid,classid)
{
    switch(classid)//Gets the current classid
    {
        case 0: do_something;//First class, switch statement always starts with 0
        case 1: do_something;//2nd class, continue this untill you reach the number you want
        default: do_something;//Keep this underneath the code, you can also remove this if you want
    }
    return 1;
}
Untested.
Reply


Messages In This Thread
Character selection text - by Superthijs - 01.08.2011, 09:50
Re: Character selection text - by alpha500delta - 01.08.2011, 10:12
Re: Character selection text - by Superthijs - 01.08.2011, 11:11
Re: Character selection text - by alpha500delta - 01.08.2011, 11:31
Re: Character selection text - by Superthijs - 01.08.2011, 11:53

Forum Jump:


Users browsing this thread: 1 Guest(s)