Class
#4

Quote:
Originally Posted by grand.Theft.Otto
Посмотреть сообщение
For each " AddPlayerClass " , you must add a " case " statement for each of the AddPlayerClass functions under OnPlayerRequestClass:

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    switch(classid)
    {
        case 0: // this is the first AddPlayerClass
        {
            // setplayerpos
            // setplayercamerapos
            // setplayercameralookat
            // other stuff
        }
        case 1: // this is the second AddPlayerClass
        {
            // setplayerpos
            // setplayercamerapos
            // setplayercameralookat
            // other stuff
        }
    }
    return 1;
}
The more " AddPlayerClass " you use, the more " case " statements you use.
where u learned that? LOL
its fake!
u dont need that at all!
just try to put the camera a bit far away or add more skins...
Reply


Messages In This Thread
Class - by wumpyc - 27.10.2011, 17:40
Re: Class - by Censure - 27.10.2011, 17:46
Re: Class - by grand.Theft.Otto - 27.10.2011, 20:06
Re: Class - by |_ⒾⓇⓄN_ⒹⓄG_| - 27.10.2011, 21:20
Re: Class - by grand.Theft.Otto - 27.10.2011, 21:52
Re: Class - by wumpyc - 28.10.2011, 11:50

Forum Jump:


Users browsing this thread: 1 Guest(s)