Indestructible Atms, how is this achieved?
#1

Hey guys, I am trying to create unbreakable atm machines, after a bit of research I see you need to set the Object Material, however this isn't working as it once used to, as I can drive into it, or punch it and it breaks.
Code:
DynamicAtms[atmid][ObjectID] = CreateDynamicObject(DynamicAtms[atmid][ModelID], DynamicAtms[atmid][PosX], DynamicAtms[atmid][PosY], DynamicAtms[atmid][PosZ], 0.0, 0.0, 0.0, 0, 0, -1, 100.0);
	SetDynamicObjectMaterialText(DynamicAtms[atmid][ObjectID],0,"None",50," Arial",24,0,0,0,1);
would be nice to know how this works, thanks in advance.
Reply
#2

You could set a timer to respawn Them occasionally
Reply
#3

https://dev.prineside.com/en/gtasa_s...24-kmb_atm1_2/

Object model ID 19324
Has collision Yes
Breaks on hit No
Reply
#4

Quote:
Originally Posted by Kane
View Post
https://dev.prineside.com/en/gtasa_s...24-kmb_atm1_2/

Object model ID 19324
Has collision Yes
Breaks on hit No
You legend! imma use this website often! thats awesome
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)