[AJUDA]Colete com SetPlayerAttachedObject
#4

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,0.0,0.0,0.0);
    else if(
GetPlayerArmour(i) <= 0) return RemovePlayerAttachedObject(i,5);        
  }
  return 
1;

Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)