problem with randomid
#1

pawn Код:
forward RandPlayer1()
public RandPlayer1()
{
  GivePlayerWeapon(GetRandomID(), 16, 5);
  SetPlayerArmour(GetRandomID(), 100);
  SendClientMessageToAll(COLOR_YELLOW, "[Random: A Random Player has been given ''5 Grenades'' and ''Full Armor'']");
  return 1;
}
Timer:

pawn Код:
SetTimer("RandPlayer1", 5000, true);
What's wrong?

error 001: expected token: ";", but found "public"
Reply


Messages In This Thread
problem with randomid - by Face9000 - 20.01.2011, 10:02
Re: problem with randomid - by ExeC - 20.01.2011, 10:05
Re: problem with randomid - by Face9000 - 20.01.2011, 10:11

Forum Jump:


Users browsing this thread: 1 Guest(s)