Jump to content
  • 0

OnPlayerKeyStateChange


BlueSkiLLz

Question

Cand dai Click cu o anumita arma sa iti apara un dialog cum pot sa fac asa ceva

am incerc sa fac

[pawn]public OnPlayerKeyStateChange(playerid,newkeys,oldkeys)

{

    GetPlayerWeapon( playerid ) == 41 ) && (newkeys & (KEY_FIRE)) == (KEY_FIRE))

///linii[/pawn]

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Cand dai Click cu o anumita arma sa iti apara un dialog cum pot sa fac asa ceva

am incerc sa fac

[pawn]public OnPlayerKeyStateChange(playerid,newkeys,oldkeys)

{

    GetPlayerWeapon( playerid ) == 41 ) && (newkeys & (KEY_FIRE)) == (KEY_FIRE))

///linii[/pawn]

[pawn]if(newkeys & KEY_FIRE && GetPlayerWeapon(playerid) == 41)[/pawn]

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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.