Jump to content

Hledám pomoc :)


Noob14_

Recommended Posts

Zdravím potřeboval bych poradit, mám na serveru AttachObjectToPlayer, no a když dám například /helma tak se mi to bjeví a po 1 sekundě zmizne čím to je ? dík

 

//EDIT kod.

 

CMD:helma(params....

}

#pragma unsused params

RemovePlayerAttachedObject ( playerid, 0);
SetPlayerAttachedObject( playerid, 0, 1346, 1, 0.000000, 0.000000, 0.000000, 0.000000, 87.919158, 0.000000, 1.000000, 1.000000, 1.000000 );

SCM(p,-1,"nasazeno");

}

Link to comment
Share on other sites

Noob14_

 

RemovePlayerAttachedObject ( playerid, 0);

(to bude nejspiš tymto skus to takto:)

 

CMD:helma(params....

}

#pragma unsused params

SetPlayerAttachedObject( playerid, 0, 1346, 1, 0.000000, 0.000000, 0.000000, 0.000000, 87.919158, 0.000000, 1.000000, 1.000000, 1.000000 );

SCM(p,-1,"nasazeno");

}

 

CMD:offhelma(params....

}

#pragma unsused params

RemovePlayerAttachedObject ( playerid, 0);

SCM(p,-1,"helma bola zrušená");

}

 

alebo: dej pod SCM     return 1;

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...