ALL HELP ME~!
#1

I made a NPC loading filterscript fo'my server in which i test my makings but when i do /loadnpcs it niether shows the Message or the NPC loaded but the filterscript gets loaded it in Server.exe and when i type /loadnpcs in server it dosent shows anything not the Unknown Command also....Help!

Код:
// NPC Loader Of Drifter/Tony Peterson RGRP //
// Own Made For Server Testing //

#include <a_samp>
#include <a_npc>

#if defined FILTERSCRIPT
}
#define COLOR_GREEN 0x33AA33AA
{
public OnFilterScriptInit()
}
	print("\n--------------------------------------");
	print(" NPC Loader 2014-Tony Peterson/Drifter");
	print("--------------------------------------\n");
	return 1;
	
public OnNPCDisconnect(Kicked,Banned[])
{
    printf("Disconnected from the server. %s", Reason: (Kicked,Banned) );
}
( ConnectNPC(Fbi_Guard_1[],Fbi_Guard_1[]);
( ConnectNPC(Hospital_Guard_1[],Hospital_Guard_1[]);
}
public OnPlayerCommandText(playerid, cmdtext[])
{
	new cmd[256];
	new idx;
	cmd = strtok(cmdtext, idx);
	if (strcmp(cmd, "/loadnpcs", true) == 0)
	{
( ConnectNPC(Fbi_Guard_1[],Fbi_Guard_1[]);
( ConnectNPC(Hospital_Guard_1[],Hospital_Guard_1[]);
}
SSCANF_Join(0,Fbi_Guard_1,Fbi_Guard_1)
SSCANF_Join(1,Hospital_Guard_1,Hospital_Guard_1)
{
SendClientMessageToAll(0x33AA33AA,NPC's Are Loaded!)
SendClientMessage(playerid,0x33AA33AA,You have loaded the NPC's!)
SendClientMessage(playerid,COLOR_GREEN,NPC Loaded)
}
public OnPlayerSpawn()
{
if(IsPlayerNPC(playerid))
}
	SetPlayerSkin(playerid,286);
	GivePlayerWeapon(playerid,38**,99999);
        return 1;
{
public OnFilterScriptExit()
}
SSCANF_Leave(0)
SSCANF_Leave(1)
	return 1;
}

#else

#endif
I use the NPC Generator NPC Maker
Help me i want to know why it dosent work and when i change if defined filterscript to define filterscript alot of error comes
Reply


Messages In This Thread
ALL HELP ME~! - by ZombieNest - 12.01.2014, 05:56
Re: ALL HELP ME~! - by Eth - 12.01.2014, 06:00
Re: ALL HELP ME~! - by ZombieNest - 14.01.2014, 06:09
Re: ALL HELP ME~! - by Sawalha - 14.01.2014, 06:58
Re: ALL HELP ME~! - by ZombieNest - 15.01.2014, 14:42
Re: ALL HELP ME~! - by MatriXgaMer - 15.01.2014, 14:49
Re: ALL HELP ME~! - by ZombieNest - 17.01.2014, 04:44
Re: ALL HELP ME~! - by PowerPC603 - 17.01.2014, 07:37

Forum Jump:


Users browsing this thread: 1 Guest(s)