Difference between revisions of "Talk:IsElementWithinAColShape"

From Multi Theft Auto: Wiki
Jump to: navigation, search
(Y U NO USE builtin functions?)
(No difference)

Revision as of 18:44, 24 June 2013

I don't consider this example very well written. In case that player element enters the colshape, and then disconnects, the inColShape[player_element] will never be freed, resulting in memory leak.

Besides, this code isn't restart-proof and can't handle more than one colshape.

Also, why not IsElementWithinColShape? --Wielebny 18:44, 24 June 2013 (UTC)