SA-MP Forums Archive
Need help about Player Class with game text - 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)
+--- Thread: Need help about Player Class with game text (/showthread.php?tid=365849)



Need help about Player Class with game text - BlackID - 04.08.2012

How can i make a class selection look like this one



Re: Need help about Player Class with game text - RedJohn - 04.08.2012

Like what? Broken link!


Re: Need help about Player Class with game text - BlackID - 04.08.2012

Like putting game text on it.. and when you press the right button it will change to another class with different game text. and every class.. has 3 different skin.


Re: Need help about Player Class with game text - Ranama - 04.08.2012

Use:

https://sampwiki.blast.hk/wiki/TextDrawCreate
and all that commands and use your own imagination to change it when you change class,
you could also use YSI Classes

It's a nice plugin wich can be found here


Re: Need help about Player Class with game text - Sascha - 04.08.2012

I'd rather suggest a game text..
https://sampwiki.blast.hk/wiki/GameTextForPlayer

something like this:
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
  switch(classid)
  {
    case 0: GameTextForPlayer(playerid, "~b~Cop", 3000, 3);
    case 1: GameTextForPlayer(playerid, "~r~Medic", 3000, 3);
  }
  return 1;
}



Re: Need help about Player Class with game text - BlackID - 04.08.2012

what's classid ?


Re: Need help about Player Class with game text - BlackID - 04.08.2012

anyone?


Re: Need help about Player Class with game text - Roko_foko - 04.08.2012

skinid=classid