Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
- {
- if(newkeys == KEY_SECONDARY_ATTACK) // caso a nova tecla for a tecla da mira
- {
- if(IsPlayerInRageOfPoint(playerid,1.0,x,y,z)) // coordenada pickup
- {
- ShowMenuForPlayer(menuid, playerid); //funcao
- }
- }
- return true;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement