SA-MP Forums Archive
Help Please - 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 Please (/showthread.php?tid=198229)



Help Please - ThePwherer - 11.12.2010

Hey i have a question. I want to put textdraws on player class select but i have no idea how. Someone please help?


Re: Help Please - hanzen - 11.12.2010

OnPlayerRequestClass()?


Re: Help Please - ThePwherer - 11.12.2010

No, i mean to assign a special textdraw to a specific class(skin).


Re: Help Please - WillyP - 11.12.2010

Use variables.


Re: Help Please - ThePwherer - 11.12.2010

do you mean something like..

public OnGameModeInit()
{
AddPlayerClass(61, 1958.3783, 1343.1572, 15.3746, 269.1425, 29, 480, 22, 99999999, 0, 0);
return 1;
}

public OnPlayerRequestClass(playerid, classid)
{
GameTextForPlayer(playerid,"Bill (mp5,pistol)",2500,1);
return 1;