Hi I have an new problem I have a few MD2 models in my game but I cant pick them with that code wy? With other modelt works it great.
Code:
Function PvP()
Entity=CameraPick(Camera,1024/2,768/2);aufX/2,aufy/2)
If MouseHit(1) Then
For p.pdata = Each pdata
If p\zone = initzone Then
If p\cube = Entity Then
BP_UDPMessage(p\net_id,7,"10|1",False,False)
EndIf
EndIf
Next
EndIf
End Function
Code:
Function PvP()
Entity=CameraPick(Camera,1024/2,768/2);aufX/2,aufy/2)
If MouseHit(1) Then
For p.pdata = Each pdata
If p\zone = initzone Then
If p\cube = Entity Then
BP_UDPMessage(p\net_id,7,"10|1",False,False)
EndIf
EndIf
Next
EndIf
End Function