1 Help - 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: 1 Help (
/showthread.php?tid=175986)
1 Help -
[LSB]TheGame - 11.09.2010
Ok on RequestClass and the skin selection how to make if you dont have like [LSPD] tag on your name you cant pick the skin and go to OnPlayerSpawn
Re: 1 Help -
PotH3Ad - 11.09.2010
pawn Код:
public OnPlayerRequestSpawn(playerid)
{
if(GetPlayerSkin(playerid) == 125)
{
if(strfind(pName(playerid), "[LSPD]", true) == -1)
{
SendClientMessage(playerid, "You must be an LSPD member to use this skin!");
return 0;
}
}
return 1;
}
Re: 1 Help -
[LSB]TheGame - 11.09.2010
thanks g