Blockland Forums > Modification Help
Get minigame from a vehicle (SOLVED)
Swollow:
--- Code: ---function Vehicle::onadd(%this,%obj)
{
parent::onadd(%this,%obj);
}
--- End code ---
how would you get the minigame the vehicle is in from that function?
Slicksilver:
::getMinigameFromObject()
%vehicle.getMinigameFromObject();
Swollow:
thank you
Invalid Function
Greek2me:
getMinigameFromObject(%obj);
Swollow:
--- Quote from: Greek2me on February 20, 2012, 08:22:28 PM ---getMinigameFromObject(%obj);
--- End quote ---
thanks