player only skins problem - 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: player only skins problem (
/showthread.php?tid=186968)
player only skins problem -
hadzx - 31.10.2010
Code:
new pName[MAX_PLAYER_NAME];
GetPlayerName(playerid, pName, sizeof(pName));
if(GetPlayerSkin(playerid) == 271)
{
if(!strcmp(pName,"Hardcore_Cookie",true))
{
}
else
{
SendClientMessage(playerid, 0xFF0000FF, "Skin Is For Hardcore_Cookie Only!");
SetPlayerHealth(playerid, 0);
ForceClassSelection(playerid);
}
}
basicly admins can spawn as ryder and i want it so only i can help?
INFO : IF YOU HELP IL HOST UR SERVER ONLINE FOR 1HOUR (if you want XD)