[HELP]class select help
#1

how i can place a text and it says team and type of class on class selection

tnx
Reply
#2

Usage TextDraws and Hide it on player spawns
Reply
#3

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
 if(classid == 0)
 {
  GameTextForPlayer(playerid, "Team 1", time, style) // or SendClientMessage(playerid, color, "text");
 }
 return 1;
}
You get the point
Reply
#4

undefined symbol "time"
Reply
#5

i use sendclient massage ty
Reply
#6

Код:
public OnPlayerRequestClass(playerid, classid)
{
 if(classid == 0)
 {
  SendClientMessage(playerid, color, "text");
 }
 return 1;

}
this should work o.o
Reply
#7

Код HTML:
public OnPlayerRequestClass(playerid, classid)
{
 if(classid == 0) 
 {
  GameTextForPlayer(playerid, "Team 1", time, style) // or SendClientMessage(playerid, color, "text");
 }
 return 1;
}
Reply
#8

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    switch(classid)
    {
        case 0: // Class 0
        {
            GameTextForPlayer(playerid,"~w~Class: ~r~0",5000, 5);
        }
        case 1: // Class 1
        {
            GameTextForPlayer(playerid,"~w~Class: ~r~1",5000, 5);
        }
    }
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)