Title on each skin? Required login for skins? - 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: Title on each skin? Required login for skins? (
/showthread.php?tid=152031)
Title on each skin? Required login for skins? -
Ozwell_Spencer - 02.06.2010
I'm working on making a zombie roleplay server, and I have many different teams on this. I find it hard for people to know what skin would work with which team, and I noticed on some other servers that there are "titles?"(I don't know what they're called)that appear when you view each class, and I am wondering if anyone knows a filterscript for that, or if it's not a filterscript, then the script for it. I am also looking for a required password to pick a skin, so that only ADMINS can use a certain team during gameplay.
Any help would be greatly appreciated!
Re: Title on each skin? Required login for skins? -
Antonio [G-RP] - 02.06.2010
Well for putting a title on skins..
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
new string[128];if(classid >= 5 && classid <= 10) // Between 2 certain amounts, or you can make it one skin by making it 'if(classid == x) where x = classid
{
format(string, sizeof(string), "~r~Whatever you want here");
GameTextForPlayer(playerid,string,3500,6);
}
}
Re: Title on each skin? Required login for skins? -
IanDaCJ - 02.06.2010
pawn Код:
GameTextForPlayer(playerid,"~b~[name of the team without the brackets]",5000,3);
der