![]() |
onActionGrab
I dont see why this doesnt work..
NPC Code: I also tried: NPC Code://#CLIETNSIDE Could someone help me? I'm not sure what it is, but i think actiongrab is messed up, if (actiongrab) also doesnt work |
I'm gonna have to say it's not working because it doesn't exist. :)
|
The action of Grab is usually made custom. You can try something like this - it doesnt allow you to hold down A and must/should be in a timeout.
PHP Code:
|
The "grab" event is not built-in, the script wouldn't work anyway though since a triggeraction with "serverside" is for sending a trigger to a serverside weapon script.
|
Also why didn't he just do join("door");
|
Quote:
|
Quote:
|
Quote:
Example: PHP Code:
PHP Code:
PHP Code:
|
Being that ActionGrab doesn't exist try just using the keydown command along with playertouchsme.
i.e. function onPlayerTouchsMe() { if (keydown(4)) { stuff } } (I'm relatively sure the #4 = D I dunno what A is, but once you find that out it should work no problem). |
why don't do something like:
PHP Code:
PHP Code:
(the function "onActionGrab" can go in a class or an level npc too, and the onKeyPressed could be added like an system, like -Grab?) |
You don't need to add the player's details into a triggeraction... :) (player.account, player.guild etc)
|
Quote:
|
Quote:
|
| All times are GMT +2. The time now is 05:39 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.