How to use ZCMD and Larp?
#1

Hey, when i put #include <ZCMD> on my server (GM: LARP), bug the original commands, appear SERVER: Unknown Command, and when i remove the include, back to normal, how to resolve?
Reply
#2

You need to convert you old commands to zcmd also.
Reply
#3

Rename OnPlayerCommandText to ProcessOldCommand (or whatever).

Add in your script:
pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
    if(!success) success = ProcessOldCommand(playerid,cmdtext);
    return success;
}
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)