Help please
#1

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
Reply
#2

https://sampwiki.blast.hk/wiki/SetPlayerColor
https://sampwiki.blast.hk/wiki/SetPlayerWantedLevel
https://sampwiki.blast.hk/wiki/OnPlayerDeath
https://sampwiki.blast.hk/wiki/GivePlayerMoney

use killerid as the player id parameter in giveplayermoney under onplayerdeath
Reply
#3

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;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)