multiple commands same function in dcmd
#1

lol this is really simple ..

i just had to format my hard drive and i forgot how i could do this...

i tried this but its not right...

Код:
dcmd_ar(playerid, params[])
{
    #pragma unused params
	return dcmd_arrest(playerid, params[]);
}
so do you get the idea ? i got an arrest command already
Reply
#2

pawn Код:
dcmd_arrest(playerid, params[]) return cmd_ar(playerid, params);
Not sure, this works for zcmd :P
Reply
#3

ok thanks i got it its

Код:
dcmd_ar(playerid, params[])
{
    #pragma unused params
	return dcmd_arrest(playerid, params);
}
(without extra [] at params in the end)
Reply
#4

pawn Код:
// Never used dcmd though

dcmd_ar(playerid, params[])
    return dcmd_arrest(playerid, params);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)