Jump to content
  • 0

Problema Unknown Command


Question

Posted

Salut,

Am facut o noua comanda,iar cand intru pe server si dau comanda imi merge...dar dupa apare "Unknow Command" insa comanda a fost reusita.

Ceva rezolvare va rog?

3 answers to this question

Recommended Posts

Posted
public OnPlayerCommandText( playerid, cmdtext[] )
{
    if ( strcmp( cmdtext, "/kill", true, 5 ) == 0 )
    {
        SetPlayerHealth( playerid, 0 );
        return 1; // verifica daca ai aici return 1;
    }
    return 0;
}

Posted

LaZ" post="42408" timestamp="1286037245"]

public OnPlayerCommandText( playerid, cmdtext[] )
{
    if ( strcmp( cmdtext, "/kill", true, 5 ) == 0 )
    {
        SetPlayerHealth( playerid, 0 );
        return 1; // verifica daca ai aici return 1;
    }
    return 0;
}

MERSI Mult.

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.