Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
help please i want test all icon
#1
hi, please help me, I wanted to say !ic iconname
it is code dont work
if (Message == "!ic")
{
string iconname = cardicon_semtex;
SetDvar("g_TeamIcon_Allies", +iconname);
}
help please
Reply

#2
(01-27-2014, 14:58)Qwerty Wrote: hi, please help me, I wanted to say !ic iconname
it is code dont work
if (Message == "!ic")
{
string iconname = cardicon_semtex;
SetDvar("g_TeamIcon_Allies", +iconname);
}
help please

Please use [ code ] tags.

Code:
PrecacheShader("cardicon_semtex"); - put this to 'onprecache'

SetDvar("g_TeamIcon_Allies", "cardicon_semtex");
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply

#3
no, i know it
i want !icon <iconname>
i want tested all icons
Reply

#4
(01-27-2014, 16:28)Qwerty Wrote: no, i know it
i want !icon <iconname>
i want tested all icons

Code:
string t[] = Message.Split(' ');

if(t[0] == "!icon")
{
SetDvar("g_TeamIconAllies", t[1]);
}
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply



Forum Jump:


Users browsing this thread:
3 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.