SA-MP Forums Archive
Help Skin VIP - 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)
+--- Thread: Help Skin VIP (/showthread.php?tid=538414)



Help Skin VIP - FisherMan - 21.09.2014

Hello, Every One
Guys i Want Any One Example To Me How To Make Skin VIP With Admin Command can give him
Example +Rep
Thanks,


Re: Help Skin VIP - Gogeta101 - 21.09.2014

Can the VIP Use that command ?


Re: Help Skin VIP - GunZ75 - 21.09.2014

i use dcmd:

dcmd_vipskin(playerid,params[])
{

SetPlayerSkin(playerid, id of skin u want)

return 1
}


Re: Help Skin VIP - bensmart469 - 21.09.2014

Well, simple one:
pawn Код:
CMD:vipskin(playerid,params[])
{
if(!PlayerInfo[playerid][pVIP]) return SendClientMessage(playerid,0xFF0000FF,"You are not a VIP."); // Change it to suit your needs, you may not use playerinfo or pVIP, so change it if you must
SetPlayerSkin(playerid,yourskinhere);
return 1;
}
Or for admins to set a VIP skin:
pawn Код:
new vipskin = 0;
CMD:setvipskin(playerid,params[])
{
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid,0xFF0000FF,"You are not an admin.");
new id;
if(sscanf(params,"i",id)) return SendClientMessage(playerid,0xFFFFFFFF,"USAGE: /setvipskin [id]");
if(id < 0 || id > 299) return SendClientMessage(playerid,0xFF0000FF,"Invalid id");
vipskin = id;
SendClientMessage(playerid,0x00FF00FF,"VIP skin set.");
return 1;
}
CMD:vipskin(playerid,params[])
{
if(!PlayerInfo[playerid][pVIP]) return SendClientMessage(playerid,0xFF0000FF,"You are not a VIP."); // Change it to suit your needs, you may not use playerinfo or pVIP, so change it if you must
SetPlayerSkin(playerid,vipskin);
return 1;
}



Re: Help Skin VIP - KayJ - 21.09.2014

Want a full system? Check my signature > MyWorks> VIP System


Re: Help Skin VIP - FisherMan - 21.09.2014

Guys Guys Guys
i Want Example To i Make it on player request class Ok i Want Cant Player Spawn With it only i give him VIP
know now guys
Thanks u bensmart46 i will try it


Re: Help Skin VIP - bensmart469 - 21.09.2014

So do this:
pawn Код:
// onplayerrequestclass
if(GetPlayerSkin(playerid) == YOURSKINHERE)
{
if(!PlayerInfo[playerid][pVIP]) return 0;
}



Re: Help Skin VIP - FisherMan - 21.09.2014

Quote:
Originally Posted by SturtIndia
Посмотреть сообщение
Want a full system? Check my signature > MyWorks> VIP System
im Very Sorry But i Dont Need it i love Making Script My Own Not Own One