Guest User

Untitled

a guest
Feb 9th, 2019
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.69 KB | None | 0 0
  1. new Text3D:object_one, Text3D:object_two, Text3D:object_three;
  2. new Floats....
  3.  
  4. MyForwardedCallback()
  5. {
  6.     //all three switches with positions
  7.  
  8.     DestroyObject(object1);
  9.     object1 = CreateObject(objectid, x, y, z, 0.0, 0.0, 0.0);
  10.  
  11.     DestroyObject(object2);
  12.     object2 = CreateObject(objectid, x2, y2, z2, 0.0, 0.0, 0.0);
  13.  
  14.     DestroyObject(object3);
  15.     object3 = CreateObject(objectid, x3, y3, z3, 0.0, 0.0, 0.0);
  16.    
  17.  
  18.     Delete3DTextLabel(object_one);
  19.     object_one = Create3DTextLabel("Object one", ....);
  20.  
  21.     Delete3DTextLabel(object_two);
  22.     object_two = Create3DTextLabel("Object two", ....);
  23.  
  24.     Delete3DTextLabel(object_three);
  25.     object_three = Create3DTextLabel("Object three", ....);
  26.     return 1;
  27. }
Advertisement
Add Comment
Please, Sign In to add comment