how i make shortcut?
#3

pawn Код:
stock PlayerName(i)
{
    new pname[MAX_PLAYER_NAME];
    GetPlayerName(i,pname,MAX_PLAYER_NAME);
    return pname;
}
pawn Код:
CMD:y(playerid,params[])
{
    new y[100];
    format(y,sizeof(y),"%s: Yes",PlayerName(playerid));
    SendClientMessageToAll(-1,y);
    return true;
}

CMD:n(playerid,params[])
{
    new n[100];
    format(n,sizeof(n),"%s: Yes",PlayerName(playerid));
    SendClientMessageToAll(-1,n);
    return true;
}
Edit:to late didnt refresh
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: 1 Guest(s)