problem with randomid
#2

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

Because you forgot to add ";" to

pawn Код:
forward RandPlayer1(playerid);
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: 2 Guest(s)