Set Player To Use FilterScript
#4

Quote:
Originally Posted by (S)Toril
Посмотреть сообщение
I suppose that you could try the following.

Create a global variable "
Код:
new tempmapper[MAX_PLAYERS];
"

Then create a command to set the variable on the player from 0 to 1.

(Dcmd as default)
Код:
dcmd_makemapper(playerid,params[])
{
if(IsPlayerAdmin,playerid)
if(!strlen(params)) {
SendClientMessage(playerid,color,"Usage: /makemapper [player]");
return 1;
}
tempmapper[params] 1;
return 1;
}
Then on the command to start object editing just check if the player is a temporary mapper.


(Code might be dodgy)
So, this is a temp only, so it has to be set everytime they log on? - how would i edit it so that the names are saved?
Reply


Messages In This Thread
Set Player To Use FilterScript - by Hal - 11.07.2010, 03:26
Re: Set Player To Use FilterScript - by (S)Toril - 11.07.2010, 04:02
Re: Set Player To Use FilterScript - by Hal - 11.07.2010, 13:19
Re: Set Player To Use FilterScript - by Hal - 12.07.2010, 00:50
Re: Set Player To Use FilterScript - by PotH3Ad - 12.07.2010, 01:55

Forum Jump:


Users browsing this thread: 3 Guest(s)