!- Maze Help -!
#1

(939) : error 010: invalid function or declaration

Line:
Code:
if(GetPVarInt(playerid,"InMaze") && cmd_exitmaze(playerid,params) return SCM(playerid, C_RED, "[MAZE]: {FFFFFF}You can't use commands because you are in minigame, write /exitmaze for left maze!");
I use zcmd, and i try to add it in my gm, can somebody help me ?
Reply
#2

You forget to close a (, change
pawn Code:
if(GetPVarInt(playerid,"InMaze") && cmd_exitmaze(playerid,params)
to
pawn Code:
if(GetPVarInt(playerid,"InMaze") && cmd_exitmaze(playerid,params))
You don't have how to check a CMD in a if, you have to do it with strcmp/strfind.
Reply
#3

Solved, thanks
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)