Skin Lock
#1

Can someone give me a script to lock a skin, so that say, leader of Grove has the sweet skin and no one else can use it
Reply
#2

pawn Код:
new Class[MAX_PLAYERS];

public OnPlayerRequestClass(playerid, classid)
{
    Class[playerid] = classid;
    return 1;
}

public OnPlayerRequestSpawn(playerid)
{
    if(Class[playerid] == CLASSID) return 0;
    return 1;
}
This won't let player spawn with the classid you want.
Reply
#3

Whats the point in that, I want it so that a certain player can spawn as that skin and no-one else can.
Reply
#4

This is an example how to not let player spawn and this isn't Script Request Thread.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)