Hello, Like most of you know I'm working on a server and I'm wanting to make a /mw command where it sets the players name to red and gives him 6 stars also the kill will receve money like a manhunt type thing but i dont know where to start please me
use killerid as the player id parameter in giveplayermoney under onplayerdeath
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp(cmdtext, "/mw", true) == 0)
{
SetPlayerWantedLevel(playerid, 6);
SetPlayerColor(playerid, 0xFF0000AA);
SendClientMessage(playerid, 0xFF0000AA, "You are now wanted");
return 1;
}