11.07.2010, 04:02
I suppose that you could try the following.
Create a global variable "
"
Then create a command to set the variable on the player from 0 to 1.
(Dcmd as default)
Then on the command to start object editing just check if the player is a temporary mapper.
(Code might be dodgy)
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; }
(Code might be dodgy)