Jump to content
Sign in to follow this  
Yeteh

SM Paint for specific players.

Recommended Posts

Hi. 

Is it possible to lock Vehicle/Base painting to specific players? 

Thanks!

Share this post


Link to post
21 hours ago, Yeteh said:

Hi. 

Is it possible to lock Vehicle/Base painting to specific players? 

Thanks!

add this to SM_Paint_Show:

private _playerUIDs = ["766161"]; //Players that are allowed to use painting.

//Check if the player is in the array of allowed players.
if !((getPlayerUID player) in _playerUIDs) exitWith
{
	systemchat "You cannot use this!";
};

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×