Player Permission System
#1

I have the following piece of code in my script:

pawn Код:
stock StaffRolePerm(id,perm[]){
    return srPerms[id][perm];
}
As far as I can tell, this function should work fine, however, when I attempt to compile I'm faced with this error:
Код:
error 033: array must be indexed (variable "perm")
Any help I could get would be greatly appreciated.. very confused.
Reply


Messages In This Thread
Player Permission System - by jtemple042996 - 05.10.2014, 03:18
Re: Player Permission System - by Josh_Main - 05.10.2014, 04:45
Re: Player Permission System - by Quickie - 05.10.2014, 12:37

Forum Jump:


Users browsing this thread: 1 Guest(s)