Help why dosent work?
#1

pawn Код:
cmdhelloplayerid
{
    SendClientMessage(playerid, COLOR_WHITE, "You wrote hello.");
    r0
}
Not sending anything to the player
Reply
#2

whatttt the fuck is that command proccessor lol?
And i guess r0 is return 0; you need to return 1;
Reply
#3

Are you using ZCMD or?
Reply
#4

Quote:
Originally Posted by Wizz123
Посмотреть сообщение
whatttt the fuck is that command proccessor lol?
And i guess r0 is return 0; you need to return 1;
Thanks! worked rep and i got it from a friend
Reply
#5

let me help u out a bit, lmfao
pawn Код:
CMD:hello(playerid, params[])
{
    SendClientMessage(playerid, COLOR_WHITE, "You wrote hello.");
    return 1;
}
Let me explain something to you, My guess is your trying to use ZCMD
put this #include <zcmd> at top.
Now whenever you want to make a cmd use this
pawn Код:
CMD:yourcmdhere(playerid, params[])
{
    //Your code here
    return 1;
}
This basically creates the Commands,
Put your code in where I put "//Your code here"
You welcome
Reply
#6

The Current code.
pawn Код:
CMD:hello(playerid, params[])
{
        SendClientMessage(playerid, COLOR_WHITE, "You wrote hello.");
        return 1;
}
Reply
#7

No thanks guys Wizz123 helped me i have a custom made command proccessor not zcmd.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)