DCMD return
#1

How to make same commands?
pawn Код:
dcmd(wow,3,cmdtext);
dcmd(owo,3,cmdtext);
pawn Код:
dcmd_wow(playerid,params[]) {
print ("hey");
}

dcmd_owo(playerid,params[]) {
return what_should_i_return_to_get_playerid_and_params?;
}
Thanks.
Reply
#2

pawn Код:
dcmd_owo(playerid,params[])
    return dcmd_wow(playerid, params); // no [] here!
Reply
#3

Thanks, you've been fast.
Reply
#4

EDIT: ^ Too late!

pawn Код:
dcmd_owo(playerid, params[]) return dcmd_wow(playerid, params);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)