skin request - 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: skin request (
/showthread.php?tid=140658)
skin request -
02manchestera - 10.04.2010
When u choose a skin how do i make it so say skinid 105 show gametext Da Balla then id 106 grove street and so on
Re: skin request -
[HiC]TheKiller - 10.04.2010
Well you could use Either GetPlayerSkin or classid. I'm going to use GetPlayerSkin because I don't know the order of your classes.
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
if(GetPlayerSkin(playerid) == 106) GameTextForPlayer(playerid, "~g~Grove ST", 1500, 3);
if(GetPlayerSkin(playerid) == 105) GameTextForPlayer(playerid, "~p~Da Balla", 1500, 3);
return 1;
}
Re: skin request -
02manchestera - 10.04.2010
yep worked perfect thnx mate