06-20-2012, 04:27 PM
So i'm trying to make a script where some acid from the inventory should break a door. The script so far looks like this:
But it wont let me do that, it says that its some wrong signature or something. I have checked everything, but i don't understand.
PHP Code:
void OnStart(){ AddUseItemCallback("", "acid", "acid_door", aciddoor, true);}
void aciddoor(string &in asItem, string &in asEntity){SetPropHealth("acid_door", 0.0f);}
But it wont let me do that, it says that its some wrong signature or something. I have checked everything, but i don't understand.