[AJUDA]Colete com SetPlayerAttachedObject
#6

PHP код:
public ChecarLife(playerid)
{
  for(new 
0i<MAX_PLAYERSi++)
  {
    if(
GetPlayerArmour(i) >= 1) return SetPlayerAttachedObject(i,5,19142,1,0.1,0.05,0.0);
    else if(
GetPlayerArmour(i) <= 0) return RemovePlayerAttachedObject(i,5);        
  }
  return 
1;

Tenta agora.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)