A famed system.
#1

I just need some help on how to make a famed system.

CMDS: /makefamed, /famed, and that's it.

Also, this is for a RP server, based off the zGaming script.

I also want it to say Famed when they say stuff on /newbie.
Reply
#2

Quote:
Originally Posted by StopFondlinMe
Посмотреть сообщение
I just need some help on how to make a famed system.

CMDS: /makefamed, /famed, and that's it.

Also, this is for a RP server, based off the zGaming script.

I also want it to say Famed when they say stuff on /newbie.
i'm not understand can you explain it more ?
btw you are in the wrong section..
you must post it here :
https://sampforum.blast.hk/showthread.php?tid=187229
Reply
#3

Uhh, if a player has been in the server for a long time I want to make them famed. Just a little incentive I guess.

And.. ok. Someone can close this.
Reply
#4

On top of the script:
pawn Код:
new famed[MAX_PLAYERS];
Command:
pawn Код:
CMD:makefamed(playerid, params[])
{
    extract params -> new player:i; else return SendClientMessage(playerid, -1, "USAGE: /makefamed [Player ID/Part of name]");
    famed[i] = 1;
    new string[128], name{MAX_PLAYER_NAME];
    GetPlayerName(i, name, MAX_PLAYER_NAME);
    format(string, 128, "You have made %s(%i) famed.", name, i);
    SendClientMessage(playerid, -1, string);
    GetPlayerName(playerid, name, MAX_PLAYER_NAME);
    format(string, 128, "You have been made famed by %s(%i), congratulations!", name, playerid);
    SendClientMessage(i, -1, string);
    return 1;
}
Under
pawn Код:
CMD:newbie
Edit it so that it says Famed for anyone with famed[playerid] = 1.

Commands done using sscanf 2.6 and zcmd.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)