/newb CMD
#1

Hey,

Does anyone know how to script the /newb command with Helpers? I'm pretty sure it will be easy but i looked and couldnt find anywhere.

Thanks
Reply
#2

what should it do?
Reply
#3

Well /n(ewbie) command is simple, if you get this, you can make your one in no time, its similar to OOC

pawn Код:
CMD:n(playerid, params[])
{
    new string[128], sendername[MAX_PLAYER_NAME], text[64];
    GetPlayerName(playerid, sendername, sizeof(sendername));
    format(string, sizeof(string), "[NEWBIE]: Newbie %s: %s", sendername, text);
    SendClientMessageToAll(0xFFFFFFFF,string);
    return 1;
}
Using zcmd, not sure if it work, didn't test thats simply how you do it...
Reply
#4

it won't work..
cut out the "text[64]" at the "new" definition
and replace it in the format with "params" (so instead of "text" "params")^^
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)