Jump to content

eXorcism

Membru
  • Posts

    429
  • Joined

  • Last visited

  • Days Won

    1

Community Answers

  1. eXorcism's post in Spații libere în chat. was marked as the answer   
    Eu banuiesc ca ar fi un SendClientMessage, cauta pe la OnPlayerExitVehicle, OnPlayerStateChange( cauti dupa PLAYER_STATE_ONFOOT ).
  2. eXorcism's post in Cerere tutorial was marked as the answer   
    Banuiesc ca folosesti strcmp, cauta la sfrsitul OnPlayerCommandText ultimul 'return 0;'.
    /*Explicatie, daca pui in publicul OnPlayerCommandText return 0 va returna mesajum Server: unknow command, poti returna un mesaj la sfrsit in loc de 0 ti-am lasat exemplu mai jos*/ new szString[ 128 ]; format( szString, 128, "Comanda %s nu exista", cmdtext ); return SendClientMessage( playerid, -1, szString ); Daca folosesti zcmd foloseste OnPlayerCommandPerformed, dar doar daca este tot gm-ul zcmd.
    Se foloseste asa.
    public OnPlayerCommandPerformed(playerid, cmdtext[], success){     if( !succes )// verificam daca comanda nu s-a executat.     {         new szString[ 128 ];         format( szString, 128, "Comanda %s nu exista", cmdtext );     }     return 1; }
×
×
  • 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.