20.01.2016, 21:18
hi guys, i'm a beginner at scripting i have to admit it lool.. anyways I added what I think is an Rcon command script in my gamemode script and when I compiled I got 1 error saying : error 017: undefined symbol "playerid". I don't know how to fix the problem because I'm not a pro in scripting so can someone help me please ?
Here's the script :
Here's the script :
Code:
public OnRconCommand(cmd[]) { if(strcmp(cmd, "/rcmds",true)==0) { ShowPlayerDialog(playerid, 1, DIALOG_STYLE_MSGBOX, "Rcon Commands", "/givexp\n/givelevel\n/giveprestige\n/resetrank\n/rdm\n/createhouse", "OK", ""); return 1; } return 0; }