Jump to content
  • 0

Help!


Ryder_RO

Question

2 answers to this question

Recommended Posts

De asemenea nu este respectata regula "Titlul topicului trebuie sa arate problema nu "Ajutor" "Salvati-ma" , acele topicuri ce au la titlu "Ajutor" sau alte chestii ce nu au legatura cu continutul vor fi sterse , postati la titlu problema voastra!
Link to comment
Share on other sites

CMD:stunt1( playerid, params[ ] ) return AddTeleport ( playerid , "Stunt1", "~r~Stunt~g~1", 1838.4784, -1450.1213, 13.5628, 344.1002, 0, 0 );

Daca vrei sa fie /stunt 1 bagi cu sscanf ... exemplu:

CMD:stunt( playerid, params[ ] )
{
    if( sscanf( params, "i", params[ 0 ] ) ) return SendClientMessage( playerid, -1, "USAGE: < /stunt [ 1 - n ] >" );

    switch( params[ 0 ] )
    {
        case 1: AddTeleport ( playerid , "Stunt1", "~r~Stunt~g~1", 1838.4784, -1450.1213, 13.5628, 344.1002, 0, 0 );
        case 2: //urmatorul teleport
        //..........................//
        case n: //ultimul teleport
    }
    return 1;
}

Link to comment
Share on other sites

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.