Noob14_ 7 Odesláno: 6. Září, 2014 Share Odesláno: 6. Září, 2014 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 More sharing options...
INSANE_25_ICON 0 Odesláno: 6. Září, 2014 Share Odesláno: 6. Září, 2014 Bet pawn kodu to nepojde Link to comment Share on other sites More sharing options...
Noob14_ 7 Odesláno: 6. Září, 2014 Author Share Odesláno: 6. Září, 2014 Je tám kod Link to comment Share on other sites More sharing options...
LafreSK 0 Odesláno: 6. Září, 2014 Share Odesláno: 6. Září, 2014 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 More sharing options...
Noob14_ 7 Odesláno: 7. Září, 2014 Author Share Odesláno: 7. Září, 2014 špatně nefunguje to Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now