Is there any possible way
#1

To only let someone use a certain car if he's in a certain skin, etc?
Reply
#2

Yes, think this will work.. This is UNTESTED.

pawn Код:
// at top of the script
new specialcar;

//under OnGameModeInit
specialcar = AddStaticVehicle(blahblah..);

// at OnPlayerEnterVehicle

new skin = GetPlayerSkin(playerid);
new carid = GetPlayerVehicleID(playerid, vehicleid);


if(carid == specialcar && skin == skinidhere)
{
    //got right skin and is in that car, hes allowed to enter
}
else
{
    // if the player dont have the skin, remove player from vehicle
Reply
#3

I'll give it a test now.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)