how i make shortcut?
#4

Quote:
Originally Posted by newbienoob
Посмотреть сообщение
Not tested.
pawn Код:
CMD:y(playerid,params[])
{
    new str[128], name[MAX_PLAYER_NAME];
    GetPlayerName(playerid,name,sizeof(name));
    format(str,sizeof(str),"%s:Yes",name);
    SendClientMessageToAll(-1,str);
    return 1;
}

CMD:n(playerid,params[])
{
    new str[128], name[MAX_PLAYER_NAME];
    GetPlayerName(playerid,name,sizeof(name));
    format(str,sizeof(str),"%s:No",name);
    SendClientMessageToAll(-1,str);
    return 1;
}
i tried this and this works. thanks you and also how i make it so player name will be in wanted level color? because wen i tested it, i join and my wanted was level 6 and when i type in /y or /n it will always show my name white.
Reply


Messages In This Thread
how i make shortcut? - by TheDiscussionCafe - 05.05.2012, 14:50
Re: how i make shortcut? - by newbienoob - 05.05.2012, 15:06
Re: how i make shortcut? - by doreto - 05.05.2012, 15:08
Re: how i make shortcut? - by TheDiscussionCafe - 05.05.2012, 15:29
Re: how i make shortcut? - by ReneG - 05.05.2012, 15:32
Re: how i make shortcut? - by TheDiscussionCafe - 05.05.2012, 18:03

Forum Jump:


Users browsing this thread: 2 Guest(s)