SA-MP Forums Archive
[HELP]class select help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP]class select help (/showthread.php?tid=157345)



[HELP]class select help - Giotis11 - 06.07.2010

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

tnx


Re: [HELP]class select help - CAR - 06.07.2010

Usage TextDraws and Hide it on player spawns


Re: [HELP]class select help - ViruZZzZ_ChiLLL - 06.07.2010

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


Re: [HELP]class select help - Giotis11 - 06.07.2010

undefined symbol "time"


Re: [HELP]class select help - Giotis11 - 06.07.2010

i use sendclient massage ty


Re: [HELP]class select help - matdav - 06.07.2010

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

}
this should work o.o


Re: [HELP]class select help - TheKingOfSamp - 06.07.2010

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



Re: [HELP]class select help - FreshKilla - 06.07.2010

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;
}