am looking for a command for players and admin. -
Inc - 01.05.2014
For admins i need /oocoff and /oocon
For Players i need /ooc
Please can someone make this?
I will give +rep!
Re: am looking for a command for players and admin. -
KillerStrike23 - 01.05.2014
dude what that supposed to mean ?
Re: am looking for a command for players and admin. -
Inc - 01.05.2014
I mean if someone can help me to create these commands im just an newbie on scripting, if you just want to write negative comment.
Do not comment!.
Just asking nice...
Re: am looking for a command for players and admin. -
KillerStrike23 - 01.05.2014
are ya joking wid me ey ? am asking what do you mean by ooc ?
Re: am looking for a command for players and admin. -
Inc - 01.05.2014
Ohh sorry , you dont know what /ooc means?.
It mean Out Of Character Chat = you can only chat with things like in IRL.
Its a RP command.
Re: am looking for a command for players and admin. -
TheSnaKe - 01.05.2014
Do you mean, /oocoff to disable the Out Of Character chat and /oocon to enable the Out Of Character chat, or am wrong?
Re: am looking for a command for players and admin. -
Inc - 01.05.2014
Currectly!
Please help me with this bro?
Re: am looking for a command for players and admin. -
Inc - 01.05.2014
Or TheSnake PM me if you want to help me?
Re: am looking for a command for players and admin. -
Luis- - 01.05.2014
You'd basically just use format, SendClientMessage. You could browse through some role play gamemodes and find out how they did theirs.
Re: am looking for a command for players and admin. -
Stinged - 01.05.2014
There are a lot of people that search around to find these topic to solve their problems.
I recommend that you don't help someone by PMing them. Posting inside the topic is much better.
Inc, try this.
pawn Код:
// Add to the top of the script
new bool:oochat;
// This is ZCMD
CMD:enableooc(playerid)
{
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, -1, "You need to be an admin to use this."); // Change it to your admin variable
if(oochat == 0)
{
oochat = 1;
SendClientMessage(playerid, -1, "Out of character chat enabled.");
}
else if(oochat == 1)
{
oochat = 0;
SendClientMessage(playerid, -1, "Out of character chat disabled.");
}
return 1;
}
CMD:ooc(playerid, params[])
{
if(oochat == 1)
{
// It's allowed.
// Do what ever you want.
}
else if(oochat == 0)
{
return SendClientMessage(playerid, -1, "Out of character chat is currently disabled.");
}
return 1;
}