18.01.2017, 20:09
This is my code:
It's included in the main script and yet it's not being called at all...
When i make it a public it works.
Anybody know why this is?
Код:
hook OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ) { new Text3D:id = Create3DTextLabel("test", 0xFFFFFFFF, fX, fY, fZ, 40.0, 0, 0); printf("created %i", _:id); return 1; }
When i make it a public it works.
Anybody know why this is?