Why this is wrong?
#1

Whats wrong with this,i still dont where and how to put brackets :\
Код:
public OnPlayerSpawn(playerid)
{
SetPlayerSkillLevel(playerid, WEAPONSKILL_SAWNOFF_SHOTGUN, 200);
SetPlayerSkillLevel(playerid,WEAPONSKILL_PISTOL,200);
SetPlayerSkillLevel(playerid,WEAPONSKILL_MP5,200);
SetPlayerSkillLevel(playerid,WEAPONSKILL_MICRO_UZI,200);
}

{
GangZoneShowForPlayer(playerid, Army GangZone, 0x00800083);
return 1;
}
Reply
#2

pawn Код:
public OnPlayerSpawn(playerid)
{
  SetPlayerSkillLevel(playerid, WEAPONSKILL_SAWNOFF_SHOTGUN, 200);
  SetPlayerSkillLevel(playerid, WEAPONSKILL_PISTOL, 200);
  SetPlayerSkillLevel(playerid, WEAPONSKILL_MP5, 200);
  SetPlayerSkillLevel(playerid, WEAPONSKILL_MICRO_UZI, 200);
  GangZoneShowForPlayer(playerid, Army GangZone, 0x00800083);
  return 1;
}
Reply
#3

Don can you give me a link for a post or website that explains about brackets?
Reply
#4

Check the scripting basics on SA:MP Wiki.
Check the pawn-lang.pdf file.
Reply
#5

Thx Don
Reply
#6

You're welcome.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)