Screens when class selection
#1

Hi,in my gm i need to do a thing:

I've coordinated in AddPlayerClass,i need to show,when i choose class,the coordinates for every class.

I mean:

The swat spawns in swat base,so in the class selection i need to show the swat and etc..

How to?
Reply
#2

What..?
Reply
#3

Lol,ok,i will re-describe better.

I've the coordinates in AddPlayerClass,this coordinates are for spawn in swat base.

In the class selection,i need to show the background,the swat base for swat team...

Understand?

I know,it's pretty hard to explain..
Reply
#4

oPRC
switch ( classid )
case SWAT_CLASS_ID:
sPCP
sPCLA
Reply
#5

Retardedwolf can you explain more please?
Reply
#6

Quote:
Originally Posted by Logitech90
Посмотреть сообщение
Retardedwolf can you explain more please?
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
   
    gClass[playerid] = classid;

    switch (classid) {

        case 0:

            {

                GameTextForPlayer(playerid, "~b~Police", 1000, 3);
                                SetPlayerPos(playerid, x,y,z);
                            SetPlayerCameraPos(playerid,x, y, z);
                            SetPlayerCameraLookAt(playerid, x, y, z);

            }

        case 1:

            {

                GameTextForPlayer(playerid, "~w~Civilian", 1000, 3);
                                SetPlayerPos(playerid, x,y,z);
                            SetPlayerCameraPos(playerid,x, y, z);
                            SetPlayerCameraLookAt(playerid, x, y, z);

        }
           
    }
    return 1;
}
Change X, Y and Z for your coords, when done tell me if it worked
Reply
#7

Yes,it's working.

Thanks.
Reply
#8

Quote:
Originally Posted by Logitech90
Посмотреть сообщение
Yes,it's working.

Thanks.
No problem
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)