Help Skin VIP
#1

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,
Reply
#2

Can the VIP Use that command ?
Reply
#3

i use dcmd:

dcmd_vipskin(playerid,params[])
{

SetPlayerSkin(playerid, id of skin u want)

return 1
}
Reply
#4

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;
}
Reply
#5

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

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
Reply
#7

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

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
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)