(07-18-2012, 20:17)pollarpart Wrote: [ -> ] (07-15-2012, 17:21)Ich1994 Wrote: [ -> ]I am currently working on the Addon API Documentation.
Should be done in 2-4 Days.
If someone can host the html Files please PM me.
Me haz no server.
I will host it
Since there is already a API Doc, i will not work on it anymore...
CSHARP Code
Icon.SetIcon("iw5_cardicon_cat");
I can't seem to get this to work properly, Every time I try to set it it just crashes.
I've tried several other icons already but it just crashes everytime.
Also try {} and catch {} doesn't seem to catch any errors at all anymore.
It just ignores my try and makes the error still unexpected.
This is annoying because it makes debugging even harder
NVM, my fault, threading failure.
@
archit I'm gonna guess that you can just use any material in the game.
At least, that would be logical
@
zxz0O0 Can you find
Code:
HudElem setWaypoint(true,"waypoint_kill"); //constant size?, off-screen material
HudElem setTargetEnt(Nem); //target entity :dumb:
gsc example
http://www.itsmods.com/forum/Thread-Rele...point.html
This is for example, used in the sabotage gamemode to show the bomb carrier.
(07-19-2012, 03:38)JariZ Wrote: [ -> ]CSHARP Code
Icon.SetIcon("iw5_cardicon_cat");
I can't seem to get this to work properly, Every time I try to set it it just crashes.
I've tried several other icons already but it just crashes everytime.
Maybe it helps if you show some more code. However icons which are not precached will not work since precache function is not found. I only tried gametype icons and it worked.
This should be precached because it's on all playercards.
I can show more code but there's nothing that interesting about it.
It crashes at that line, not before it
Hi
i was used 1.204 version with my teknogods server (1.4.382) and its worked perfectly.
but when i changed the Addon to 11.07.2012: v1.411(in first post of this topic) my server crashed ?!!!
Why?!