Raised This Month: $ Target: $400
 0% 

Why this doesnt work?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Kz1.0
Senior Member
Join Date: Jan 2013
Location: Vietnam
Old 01-30-2013 , 10:44   Why this doesnt work?
Reply With Quote #1

I have this code, the print is ok but the set_pev doesn't work .
PHP Code:
public event_new_round() 
{
hour 7
set_task
(20.0"hour_plus"_,_,_"a"15)
set_task(20.0"checkFree"_,_,_"a"15)
_UpdateHud()
}

public 
checkFree(id)
switch (
hour)
{
case 
121318192021:
{
client_print(idprint_chat"TEST 1"//print chat ok but the model doesn't change
set_pev(idpev_body2)
//entity_set_int(id, EV_INT_skin, 3)
}

default:
{
client_print(idprint_chat"TEST 2")
set_pev(idpev_body3)
//set_pev(id, pev_skin, 0)
}


Last edited by YamiKaitou; 01-30-2013 at 19:24.
Kz1.0 is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:37.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode