Raised This Month: $ Target: $400
 0% 

loop command


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Kurai-Domi
Member
Join Date: Sep 2004
Old 09-17-2004 , 06:50   loop command
Reply With Quote #1

i want to repeat a command as long is recieve a specified value how can i do that?

i tried:

for(new i=1;i<300;i++)
{
if (ent_get_int(i,ENT_INT_modelindex) = 180)
{
client_print(id,print_center,"Did it!"
}
}

but it doesn't work plz help me
Kurai-Domi 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 17:11.


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