Closed MaxAndolini closed 8 years ago
It is an issue with scope. I am looking for a workaround. For the time being, declare the command before you use the id variables.
You can also use GetCommandID.
How to use GetCommandID?
Work.
cmd_yourcommand(GetCommandID("yourcommand"), playerid, "");
cmd_yourcommand(cid_yourcommand, playerid, "");
cid_yourcommand undefined symbol.