Jump to content
  • 0

Problema Unknown Command


Kristu23

Question

3 answers to this question

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • 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.