[Ajuda] Ajuda FS
#1

Bom galera, eu criei um FS que ia botar 6 carros do lado do Tunning de SF e agora nenhum comando funciona mais.
O único que funciona é o /Q

Код:
//=== [Includes] ===
#include <a_samp>
#include <a_objects>

//=== [Defines Cores] ===
#define COR_AZULNEUTRO 0xABCDEF01
#define COR_AMARELO 0xFFFF00AA
#define COR_BRANCO 0xFFFFFFAA
#define COR_LARANJA 0xFF9933AA                     

//=== [New's] ===

public OnFilterScriptInit() // Início da Filter Script Ligada
{
	print("\n////////////////////////////////////////////");
	print(" Filter Script Ligado ...");
	print("Tunning Cars - Ever_SH");
	print("////////////////////////////////////////////\n");


//=============================Carros================================
	AddStaticVehicleEx(560,-2714.60009766,205.69999695,4.09999990,270.00000000,1,1,15); //Sultan
AddStaticVehicleEx(560,-2714.60009766,202.19999695,4.09999990,270.00000000,1,1,15); //Sultan
AddStaticVehicleEx(559,-2714.19995117,198.80000305,4.09999990,270.00000000,1,1,15); //Jester
AddStaticVehicleEx(559,-2714.19995117,195.50000000,4.09999990,270.00000000,1,1,15); //Jester
AddStaticVehicleEx(562,-2715.00000000,183.39999390,8.89999962,0.00000000,-1,-1,15); //Elegy
AddStaticVehicleEx(562,-2714.30004883,192.50000000,4.09999990,270.00000000,1,1,15); //Elegy
AddStaticVehicleEx(562,-2714.00000000,189.19999695,4.09999990,270.00000000,1,1,15); //Elegy
	
	return 1;
}

public OnFilterScriptExit() // Final da Filter Script Desligada
{
	print("\n////////////////////////////////////////////");
	print(" Filter Script Desligado ...");
	print("////////////////////////////////////////////\n");
	return 1;
}

public OnPlayerConnect(playerid) // Quando o Player Connecta
{
	return 1;
}

public OnPlayerDisconnect(playerid, reason) // Quando o Player Disconecta
{
	return 1;
}

public OnPlayerCommandText(playerid, cmdtext[]) // Comandos
	{
	return 1;
}
public OnPlayerText(playerid, text[]) // Texto
{
	return 1;
}

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) // Dialogs
{
	return 1;
}

public OnPlayerPickUpPickup(playerid, pickupid) // Pickups
{
	return 1;
}

public OnPlayerStateChange(playerid, newstate, oldstate)
{

	return 1;
}
Reply
#2

Por que vocк nгo ponha esses veiculos direto no GameMode?. O erro nгo esta na filterscript poste os comandos.
Reply
#3

pawn Код:
#include <a_samp>

#define FILTERSCRIPT

public OnFilterScriptInit()
{
    print("\n----------------------------------------");
    print(" FilterScript - Ativado");
    print("----------------------------------------\n");

    AddStaticVehicleEx(560, -2714.60009766, 205.69999695, 4.09999990, 270.00000000, 1, 1, 15);
    AddStaticVehicleEx(560, -2714.60009766, 202.19999695, 4.09999990, 270.00000000, 1, 1, 15);
    AddStaticVehicleEx(559, -2714.19995117, 198.80000305, 4.09999990, 270.00000000, 1, 1, 15);
    AddStaticVehicleEx(559, -2714.19995117, 195.50000000, 4.09999990, 270.00000000, 1, 1, 15);
    AddStaticVehicleEx(562, -2715.00000000, 183.39999390, 8.89999962, 0.00000000, -1, -1, 15);
    AddStaticVehicleEx(562, -2714.30004883, 192.50000000, 4.09999990, 270.00000000, 1, 1, 15);
    AddStaticVehicleEx(562, -2714.00000000, 189.19999695, 4.09999990, 270.00000000, 1, 1, 15);
    return 1;
}

public OnFilterScriptExit()
{
    print("\n----------------------------------------");
    print(" FilterScript - Desativado");
    print("----------------------------------------\n");
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)