Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @persist HoloIndex
- if(first()){
- function void createHolo(ModelHolo:string,HoloEntity:entity,PosHolo:vector,AngHolo:angle,ParentHolo:entity,ScaleHolo:vector,HoloAlpha:number,HoloMaterial:string,HoloColor:vector){
- holoCreate(HoloIndex)
- holoModel(HoloIndex,ModelHolo)
- holoPos(HoloIndex,HoloEntity:toWorld(PosHolo))
- holoAng(HoloIndex,HoloEntity:toWorld(AngHolo))
- holoScaleUnits(HoloIndex,ScaleHolo)
- holoParent(HoloIndex,ParentHolo)
- holoAlpha(HoloIndex,HoloAlpha)
- holoMaterial(HoloIndex,HoloMaterial)
- holoColor(HoloIndex,HoloColor)
- HoloIndex++
- }
- HoloIndex=1
- createHolo("models/sprops/misc/alphanum/alphanum_0.mdl",E,vec(7.5,20,20),ang(0,180,30),E,vec(4,1,4),255,"",vec(255))
- createHolo("models/sprops/misc/alphanum/alphanum_0.mdl",E,vec(10,20,20),ang(0,180,30),E,vec(4,1,4),255,"",vec(255))
- createHolo("models/sprops/misc/alphanum/alphanum_0.mdl",E,vec(12,20,20),ang(0,180,30),E,vec(4,1,4),255,"",vec(255))
- }
- Speed=toString(floor(convertUnit("u/s","km/h",E:vel():length())))
- if(Speed:length()==1){Speed="0"+Speed}
- if(Speed:length()==2){Speed="0"+Speed}
- holoModel(1,"models/sprops/misc/alphanum/alphanum_"+Speed:index(1)+".mdl")
- holoModel(2,"models/sprops/misc/alphanum/alphanum_"+Speed:index(2)+".mdl")
- holoModel(3,"models/sprops/misc/alphanum/alphanum_"+Speed:index(3)+".mdl")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement