Jump to content
  • 0

Problema comanda /vw


Ryder_RO

Question

Salut ..

Am vazut intr-un topic comada /vw (virtualworld) , fiind ca eu nu o aveam mam gandit sa o iau si sa o folosesc .Am observat ca numa masinile dispar obiectele nu :))

si daca iau o masina cu /v si aia dispare dar obiectele nici unu!

Sa fie de la comanda ?

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

    return SetPlayerVirtualWorld( playerid, params[ 0 ] );
}

468833_437698_362328_hiphop.jpg
Link to comment
Share on other sites

4 answers to this question

Recommended Posts

Nu intelegi cand dau /vw 5 nu imi dispar obiectele si nu sunt intr-un vehicul numai masinile dispar obiectele nu:|

Asa si am o intrebare:-?

daca eu am asa

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

    switch( params[ 0 ] )
    {
        case 1: SetPlayerPos(playerid, -329.3348,1536.3771,76.6117);
        // etc etc 
       }
return 1;
}

cum pot sa adaug asta

TeleTD("numecmd");

TeleportPlayer(playerid,xyz,"numecmd", interior);

prima am pt ca apare intr-un TD Welcome to /numecmd

si  adoua

Ryder_RO has gone to /numecmd.

Ajutor.

468833_437698_362328_hiphop.jpg
Link to comment
Share on other sites

Daca folosesti Incognito Streamer,trebuie sa setezi ca virtualworld 0 (.virtualworld=0),altfel vor aparea in toate VW(sau modifici native-ul,nu stiu exact daca merge).

Magina dispare pentru ca ea se creaza in VW 0,desi tu esti in VW x

SetVehicleVirtualWorld.

Link to comment
Share on other sites

Uite faci asa:

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

    if ( IsPlayerInAnyVehicle( playerid ) )
    {
         SetVehicleVirtualWorld( GetPlayerVehicleID( playerid ), params[ 0 ] );
         SetPlayerVirtualWorld( playerid, params[ 0 ] );
    }
    else SetPlayerVirtualWorld( playerid, params[ 0 ] );
    return 1;
}

   

Fara reclama in semnatura!

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.