return 0/1; any difference?
#6

Quote:
Originally Posted by [NWA
Hannes ]
Quote:
Originally Posted by SiJ
Ok, but how about OnPlayerPickupPickUp?
If we take this for example:
Код:
OnPlayerPickupPickup(playerid, pickupid)
{
  SetPlayerArmour(playerid, 100);
  GameTextForPlayer(playerid, "~b~~h~~h~You got armour!", 3000, 3);
  return 0/1;// Returning 0 Only gives armour for pickups in this script. Returning 1 gives armour for pickups in all scripts on server.
}
Ok, thanks
Reply


Messages In This Thread
return 0/1; any difference? - by SiJ - 26.01.2010, 11:05
Re: return 0/1; any difference? - by kmzr - 26.01.2010, 12:31
Re: return 0/1; any difference? - by bajskorv123 - 26.01.2010, 12:56
Re: return 0/1; any difference? - by SiJ - 26.01.2010, 13:07
Re: return 0/1; any difference? - by bajskorv123 - 26.01.2010, 13:30
Re: return 0/1; any difference? - by SiJ - 26.01.2010, 13:45

Forum Jump:


Users browsing this thread: 1 Guest(s)