Liberty Unleashed
Scripting => Script Help => Topic started by: nacho_gb1 on December 20, 2010, 03:14:45 pm
-
hi, I have a question,how to put text in class team.
class team 0 is Mafia , class team 1 is Police
I would like to put something like:
(http://img811.imageshack.us/img811/3351/dibujoejp.th.jpg) (http://img811.imageshack.us/i/dibujoejp.jpg/)
and I have a problem with the gun:
content.xml:
<weapon class=”0” model=”2” ammo=”250” />
ID 0 Is class team or no?
who gives me the callback onClientRequestClass
saludos
-
hi, my code:
function onClientRequestClass( player, classid )
{
if(classid = 0)
{
BigMessage("Mafia",5000,1);
}
if(classid = 1)
{
BigMessage("Police",5000,1);
}
return 1;
}
as?, guns do not work for me.
saludos
-
Afaik, classid is actually a pointer to the class so it would be classid.ID == whatever, try that.
-
Afaik, classid is actually a pointer to the class so it would be classid.ID == whatever, try that.
hi,
I served anyone know?
how to put this?
(http://img811.imageshack.us/img811/3351/dibujoejp.th.jpg) (http://img811.imageshack.us/i/dibujoejp.jpg/)
saludos