Making objects, deleting created objects
#1

for; IsACop
example cmd; /makeramp : It blocks way so no one passes trough handy for cops to block roads
example cmd: /rmramps : Removes all created ramps.

I need help with these two cmd's.
Push on the button, creating ramps
Push on the button, deleting created ramps.

Who can give me an example?

Thanks!

Reply
#2

new Ramp;
OnPlayerKeyStateChange

Ramp = CreateObject(..., ..., ..., ..., ..., ..., ...);
DestroyObject(Ramp);

_________________________________________________

Use these functions.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)