td not hiding when kill spree
#1

PHP код:
    if(Killed[killerid] == 2){
    
       new 
string[150];
    
format(stringsizeof(string), "NICE!");
    
PlayerTextDrawSetString(killeridrname[killerid], string);
    
PlayerTextDrawShow(killeridrname[killerid]);
    
PlayerTextDrawShow(killeridarrow1[killerid]);
    
PlayerTextDrawShow(killeridarrow2[killerid]);
    
SetTimer("hidername"40000);} 
PHP код:
forward hidername(killerid);
public 
hidername(killerid)
{
  
PlayerTextDrawHide(killeridrname[killerid]);
  
PlayerTextDrawHide(killeridarrow1[killerid]);
  
PlayerTextDrawHide(killeridarrow2[killerid]);
  return 
1;

Reply
#2

PHP код:
SetTimerEx("hidername"4000false"i"killerid); 
Reply
#3

WTF??

PHP код:
new string[150]; 
format(stringsizeof(string), "NICE!"); 
PlayerTextDrawSetString(killeridrname[killerid], string); 
no need format, also why did you use 150 cells for "NICE!" it only need 6 cells!

You could simply do that:

PHP код:
PlayerTextDrawSetString(killeridrname[killerid], "NICE!"); 
Reply
#4

he's newbie maybe
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)