Health & Armor Icons
#8

Quote:
Originally Posted by Backwardsman97
Well for one thing, you don't need to store the pickup id although that's the wrong way to do it. You would have to create different global variables each with a specific name. But you should put that under OnGameModeInit. Like this.

pawn Код:
public OnGameModeInit()
{
  // Armor Under Tower
  CreatePickup ( 1242, 2, 1881.5703, 1635.9821, 10.6411 );
 
  // Health Over Beside Tower
  CreatePickup ( 1240, 2, 2208.0178, 1285.5035, 10.8203 );

  // Health Behind Hideout
  CreatePickup ( 1240, 2, 1881.8005, 1628.8505, 10.6310 );

  // Armor Behind Hideout
  CreatePickup ( 1242, 2, 1881.5703, 1635.9821, 10.6411 );
  return 1;
}
i got errors
C:\Documents and Settings\Oscar\Desktop\Server\gamemodes\ithinkitwo rks.pwn(367) : error 017: undefined symbol "Health"
C:\Documents and Settings\Oscar\Desktop\Server\gamemodes\ithinkitwo rks.pwn(367) : error 017: undefined symbol "Icons"
C:\Documents and Settings\Oscar\Desktop\Server\gamemodes\ithinkitwo rks.pwn(36 : error 029: invalid expression, assumed zero
C:\Documents and Settings\Oscar\Desktop\Server\gamemodes\ithinkitwo rks.pwn(36 : error 017: undefined symbol "Reply"
C:\Documents and Settings\Oscar\Desktop\Server\gamemodes\ithinkitwo rks.pwn(368 -- 369) : warning 215: expression has no effect
C:\Documents and Settings\Oscar\Desktop\Server\gamemodes\ithinkitwo rks.pwn(369) : error 001: expected token: ";", but found "-identifier-"
C:\Documents and Settings\Oscar\Desktop\Server\gamemodes\ithinkitwo rks.pwn(369) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
Reply


Messages In This Thread
Health & Armor Icons - by The Fame - 05.06.2009, 23:59
Re: Health & Armor Icons - by Backwardsman97 - 06.06.2009, 00:23
Re: Health & Armor Icons - by The Fame - 06.06.2009, 01:05
Re: Health & Armor Icons - by Backwardsman97 - 06.06.2009, 01:06
Re: Health & Armor Icons - by HuRRiCaNe - 06.06.2009, 01:13
Re: Health & Armor Icons - by The Fame - 06.06.2009, 01:19
Re: Health & Armor Icons - by Backwardsman97 - 06.06.2009, 01:21
Re: Health & Armor Icons - by The Fame - 06.06.2009, 01:28
Re: Health & Armor Icons - by The Fame - 06.06.2009, 01:34
Re: Health & Armor Icons - by Backwardsman97 - 06.06.2009, 02:25

Forum Jump:


Users browsing this thread: 1 Guest(s)