Pliz give my
#1

Can you give a command that we should
1.Admin on admin duty of duty, admin on duty can be seen on the map
2.Vehicle streamer
3.good anticheat
4.NPC make on how APP or make NPC on FS


sory for my bad english
Reply
#2

SEARCH

But yea for the first question:
First add a variable in your Player Info enum (if you use one)
Код:
if(!strcmp(cmdtext,"/onduty",true,7)==0)
{
  if(!PlayerInfo[playerid][AdminLevel>0) return SendClientMessage(playerid,0xffffffaa,"You are not an Admin"); //use your varaibles here
  PlayerInfo[playerid][onduty]=1; //here too
  return SendCleintMessage(playerid,0xffffffaa,"You are now on Admin Duty.");
  //You can't remove one guys PlayerMarker from the mini-map afaik
}
If you use DCMD
DCMD version:

Код:
dcmd_onduty(playerid,params[])
{
  if(!PlayerInfo[playerid][AdminLevel>0) return SendClientMessage(playerid,0xffffffaa,"You are not an Admin"); //use your varaibles here
  PlayerInfo[playerid][onduty]=1; //here too
  return SendCleintMessage(playerid,0xffffffaa,"You are now on Admin Duty.");


//Then under OnPlayerCommandTExt function


dcmd(onduty,6,cmdtext);
}
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)