07.08.2015, 13:45
Tem muita coisa errada ai...
Use sscanf (https://sampforum.blast.hk/showthread.php?tid=570927) e zcmd (https://sampforum.blast.hk/showthread.php?tid=91354) que й bem simples fazer comandos com parвmetros.
Exemplo
Use sscanf (https://sampforum.blast.hk/showthread.php?tid=570927) e zcmd (https://sampforum.blast.hk/showthread.php?tid=91354) que й bem simples fazer comandos com parвmetros.
Exemplo
Код:
new id, level; if(sscanf(params, "ud", id, level)) return SendClientMessage(playerid, -1, "/setadmin <id ou nick> <level>"); Player[id][pAdmin] = level;