19.05.2014, 17:08
Can you transfer this codes to ZCMD?
Код:
new cmd[128]; new idx; cmd = strtok(cmdtext, idx); if (!strcmp(cmd, "/holder", true)) { cmd = strtok(cmdtext, idx); new model = strval(cmd); SetHolderWeapon(playerid, model); return 1; } if (!strcmp(cmd, "/remove", true)) { RemoveHolderWeapon(playerid); return 1; } return 0; }