12.04.2009, 16:17
1.st one.
How to make a megaphone for cops?
like this one:
This isnt good for me beacouse i got same /me command!
When i do /me bla bla bla .. it shows
Krisis32 bla bla bla
Officer Krisis32: bla bla bla
So this dosnt work for me... if any one could tell whats the problem it would be awesome!
2nd.
Is it possable to make a money credite service?
Whne you enter the bank and press /getmoney [ammount] [how moch time you need to re-pay it]
The time will count only when u play the game...
3rd.
I need a command like /crime [name] [what did he do]
and it would save it in file:
[name]:
[time reported]
[what did he do]
[reporter]
--------------------
How to make a megaphone for cops?
like this one:
pawn Код:
if( !strcmp(cmdtext, "/mp", true, 3) ) // 3 is the length of /me
{
new str[256], pname[256];
GetPlayerName(playerid, pname, 256);
format(str, 256, "(Officer %s: %s )", pname, cmdtext[4]);
SendClientMessageToAll(COLOR_BLUE, str);
if (gTeam[playerid] == TEAM_COP)
return SendClientMessage(playerid,COLOR_RED,"!!You aren't a cop!!");
}
When i do /me bla bla bla .. it shows
Krisis32 bla bla bla
Officer Krisis32: bla bla bla
So this dosnt work for me... if any one could tell whats the problem it would be awesome!
2nd.
Is it possable to make a money credite service?
Whne you enter the bank and press /getmoney [ammount] [how moch time you need to re-pay it]
The time will count only when u play the game...
3rd.
I need a command like /crime [name] [what did he do]
and it would save it in file:
[name]:
[time reported]
[what did he do]
[reporter]
--------------------