About the plugins
#1

Hello guys. I realy need a plugin, which allows all keys for using, like when you press "K" it opens your inventory! Or press "G" doing something else... Is there any plugin like this?
Reply
#2

PHP код:
public OnPlayerUpdate(playerid)
{
     if(
IsKeyDown(VK_K))
     {
           
// code to open inventory here
      
}

     if(
IsKeyDown(VK_G))
     {
           
// code to do whatever you want here
      
}

This is used with the Plugin in the reply above ^
Reply
#3

Not possible at the moment, those plugins are server side keys ^ not per player key
Reply
#4

Thank you all guys! I think this plugin should work, I will test it! +1 REP all!!!
Reply
#5

Quote:
Originally Posted by Kraeror
Посмотреть сообщение
Thank you all guys! I think this plugin should work, I will test it! +1 REP all!!!
just don't, if you used exemple above you will show the dialog to all players not only you, ITS SERVER SIDE key (detect a press key on the whole server not a specified player)
Reply
#6

Any help guys? ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This plugin is still not loading
Reply
#7

However this is server-sided plugin, it's not client-sided, so if you click that button, it will work for whole server.
Reply
#8

I know it, but why the plugin doesn't load?
Reply
#9

Any help
Reply
#10

They already told you this plugin is server sided. If a players clicks a key the whole server will be effected by the function you script under it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)