HeLp my
#1


I need help, we look like FS


Код:
//Los Santos Bolnicar
//------------------------------------------------------------------------------
#include <a_samp>
#include <a_npc>
//------------------------------------------------------------------------------
new Bolnicar;
//------------------------------------------------------------------------------
public OnFilterScriptInit()
{
  print("LS Bolnicar");
  ConnectNPC("Bolnicar","Bolnicar");
  return 1;
}
//------------------------------------------------------------------------------
public OnPlayerSpawn(playerid)
{
  if(IsPlayerNPC(playerid)) //Provjerava dali se spawnao NPC.
  {
    new npcname[MAX_PLAYER_NAME];
    GetPlayerName(playerid, npcname, sizeof(npcname)); //Primanje imena NPC-a
    if(!strcmp(npcname, "Bolnicar", true)) //Provjerava dali je ime NPC-a Bolnicar
    return 1;
  }
  //Ostale stvari za igrace idu ovdje.
  return 1;
  //=======================================[ End of the File ]=========================================//
Shrink compile expel me this

Код:
\filterscripts\Bolnicar.pwn(27) : error 030: compound statement not closed at the end of file (started at line 17)
What should I do?
Reply


Messages In This Thread
HeLp my - by Zeros - 16.03.2010, 11:06
Re: HeLp my - by Carlton - 16.03.2010, 11:08
Re: HeLp my - by [SF]RobMob - 16.03.2010, 11:08

Forum Jump:


Users browsing this thread: 1 Guest(s)