Problem with script
#1

Okay, I have an ownership(zcmd) filterscript which compiles perfectly and a roleplay(strcmp) script which also compiles perfectly. I then integrated the ownership(zcmd) filterscript into the roleplay(strcmp) script, this also compiles perfectly.

However, when I go on the server, all of the commands say 'Unknown command'

Does anyone know a solution for this?
Reply
#2

yes convert all to zcmd
and delete the OnPlayerCommandText callback from your mode
Reply
#3

Change this

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
to

pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
    if(success)
    {
        return 1;
    }
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)