how do i? - 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: how do i? (
/showthread.php?tid=118073)
how do i? -
fsnameless - 02.01.2010
how do i make text on like say if the player is at the skin selection screen and is at id 285 it will make a text saying Cop and if changed it will change to the next skins text
P.S.
i would have used search but i didnt know what to search for
Re: how do i? -
shoru93 - 02.01.2010
Use this code:
Quote:
public OnPlayerRequestClass(playerid,classid)
{
if(classid == 0)
{
GameTextForPlayer(playerid, "~r~this is a text on top of the character", 3000, 4);
}
else
{
GameTextForPlayer(playerid, "~b~and so is this", 3000, 4);
}
return 1;
}
|