SA-MP Forums Archive
Team Names At Class Selection - 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: Team Names At Class Selection (/showthread.php?tid=161944)



Team Names At Class Selection - Garc1a - 21.07.2010

Many TDM servers have the team name for that skin. (I hope you know what I mean)

For example:
A ballas skin and text appears saying 'Ballas'.

How do I do this?


Re: Team Names At Class Selection - DJDhan - 21.07.2010

Код:
public OnPlayerRequestClass(playerid,classid)
{
    if(classid == 0)
    {   
            GameTextForPlayer(playerid,"Ballas",3000,4);
    }
    return 1;
}
You can do that for all class-ids.


Re: Team Names At Class Selection - Garc1a - 21.07.2010

Quote:
Originally Posted by DJDhan
Посмотреть сообщение
Код:
public OnPlayerRequestClass(playerid,classid)
{
    if(classid == 0)
    {   
            GameTextForPlayer(playerid,"Ballas",3000,4);
    }
    return 1;
}
You can do that for all class-ids.
Thanks