i need a little help
#1

hello does anyone have a link to the dcmd include?
Reply
#2

pawn Код:
#define dcmd(%1,%2,%3) if (!strcmp((%3)[1], #%1, true, (%2)) && ((((%3)[(%2) + 1] == '\0') && (dcmd_%1(playerid, ""))) || (((%3)[(%2) + 1] == ' ') && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1
Though may I ask why you're using it?

It's old and deprecated by the sa-mp community. Look at zcmd, or ycmd.
Reply
#3

This maybe useful
Reply
#4

its for admin cmds
Reply
#5

how to i convert it to zcmd? do i just change the dcmd_(command) to CMDCommand)?
Reply
#6

Yeah that's all CMD:enter(playerid, params[], help)
Reply
#7

whats the help) about?
Reply
#8

Quote:
Originally Posted by Scrillex
Посмотреть сообщение
Yeah that's all CMD:enter(playerid, params[], help)
You don't need the help parameter (it is for y_commands) if you are using zcmd you do
pawn Код:
CMD:example(playerid, params[])
Reply


Forum Jump:


Users browsing this thread: 6 Guest(s)