Help, what is the problem? [NPC script]
#6

Quote:
Originally Posted by Ricop522
Посмотреть сообщение
pawn Код:
#include <a_samp>
new HydraVehicle;
public OnFilterScriptInit()
{
    ConnectNPC ( "Hydra", "hydra_ls");
    print("\n--------------------------------------");
    print(" Bluebay Hydra (LS)-->NPC Betцltve!");
    print("--------------------------------------\n");
    HydraVehicle = CreateVehicle(520, 0.0, 0.0, 5.0, 0.0, 1, 1, 5000);
}

public OnPlayerSpawn(playerid)
{
    if(IsPlayerNPC(playerid))
    {
        new npcname[MAX_PLAYER_NAME];
        GetPlayerName(playerid, npcname, sizeof(npcname));
        if(!strcmp(npcname, "HydraVehicle", true));
        {
            PutPlayerInVehicle(playerid, HydraVehicle, 0);
        }
        return 1;
    }
    return 1;
}
good, now just the error :

C:\Szerverek\MFA MOD\filterscripts\hydra_ls.pwn(1 : error 036: empty statement
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply


Messages In This Thread
Help, what is the problem? [NPC script] - by Bluebay - 07.03.2011, 19:12
Re: Help, what is the problem? [NPC script] - by Stigg - 07.03.2011, 19:14
Re: Help, what is the problem? [NPC script] - by Ricop522 - 07.03.2011, 19:18
Re: Help, what is the problem? [NPC script] - by Bluebay - 07.03.2011, 19:18
Re: Help, what is the problem? [NPC script] - by Stigg - 07.03.2011, 19:19
Re: Help, what is the problem? [NPC script] - by Bluebay - 07.03.2011, 19:20

Forum Jump:


Users browsing this thread: 1 Guest(s)