Vice City Multiplayer
VC:MP 0.4 (Beta) => Script Discussion => Topic started by: sseebbyy on October 10, 2014, 01:08:11 pm
-
I wanted to test the new event onPlayerCrouchChange by just adding Message("crouch status changed");, but when I crouched and uncrouched in game, there was no message.
Now the question is: "Is the event bugged ?"
-
By the looks of it the callback function is implemented in C++ but wasn't attached to the event. Therefore the function is never called to forward the event to the script. The following code is never executed:
function onPlayerCrouchChange( i_player, state )
{
print( "Player " + i_player.Name + " is " + (state ? "crouched" : "standing") );
}
-
- Fixed onPlayerOnFireChange, onPlayerCrouchChange, onPlayerGameKeysChange
- Added onPlayerActionChange( player, oldAction, newAction ), onPlayerStateChange( player, oldState, newState )
I noticed that onPlayerCrouchChange always returns false (probably server's bug)
Linux 32-bit module (https://bitbucket.org/stormeus/0.4-squirrel/downloads/squirrel04rel32.so)
Linux 64-bit module (https://bitbucket.org/stormeus/0.4-squirrel/downloads/squirrel04rel64.so)
-
/me is waiting for windows plugin update
-
/me is waiting for windows plugin update
I can build for you, your email?
Here is it http://www.solidfiles.com/d/fd8f42f7c2/squirrel.zip
-
I finally got a license for Visual Studio. Compiled (https://bitbucket.org/stormeus/0.4-squirrel/downloads).
-
I noticed that onPlayerCrouchChange always returns false (probably server's bug)
I hope it will be fixed soon.
/me is waiting for windows plugin update
I can build for you, your email?
Here is it http://www.solidfiles.com/d/fd8f42f7c2/squirrel.zip
Thank you very much, I appreciate that ! but I'm really dedicated to official plugins. :D
I finally got a license for Visual Studio. Compiled (https://bitbucket.org/stormeus/0.4-squirrel/downloads).
Good, thanks !
-
I noticed that onPlayerCrouchChange always returns false (probably server's bug)
I hope it will be fixed soon.
/me is waiting for windows plugin update
I can build for you, your email?
Here is it http://www.solidfiles.com/d/fd8f42f7c2/squirrel.zip
Thank you very much, I appreciate that ! but I'm really dedicated to official plugins. :D
I finally got a license for Visual Studio. Compiled (https://bitbucket.org/stormeus/0.4-squirrel/downloads).
Good, thanks !
You can download VS2013 Express for free. And it's easy to complie it!
-
I don't want to join to that "world" yet :D but thanks for the suggestion.