How To Stop These Commands?
#1

How To Stop /ar /tk and /rob From Car,Also How Do I Stop /kill /rob /rape In Jail?
Reply
#2

Use This TO Disable All Commands While In Jail, Use Your Jail Variable To Replace Mine

[code]public OnPlayerCommandReceived(playerid, cmdtext[])
{
if (InJail[playerid] == 1)
{
SendClientMessage(playerid, 0xFF0000AA, "Your Commands Have Been Disabled While In Jail!");
return 0;
}
return 1;
} [\code]
Reply
#3

Quote:
Originally Posted by Kar
Посмотреть сообщение
Use This TO Disable All Commands While In Jail, Use Your Jail Variable To Replace Mine

[code]public OnPlayerCommandReceived(playerid, cmdtext[])
{
if (InJail[playerid] == 1)
{
SendClientMessage(playerid, 0xFF0000AA, "Your Commands Have Been Disabled While In Jail!");
return 0;
}
return 1;
} [\code]
Jail Variable
Reply
#4

you dont have a variable to tell if the player is in jail?

lol so on your server if someone logs out in jail he comes back on and isnt in jail anymore?
Reply
#5

Quote:
Originally Posted by Kar
Посмотреть сообщение
you dont have a variable to tell if the player is in jail?

lol so on your server if someone logs out in jail he comes back on and isnt in jail anymore?
Yeh lawl can u help me with that to?
Reply
#6

got teamvier & msn? http://www.teamviewer.com/index.aspx
Reply
#7

Quote:
Originally Posted by Kar
Посмотреть сообщение
msn yes pm msn
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)