fatal error 111: user error: Unkown cell size
#1

Please help me !

Code:
C:\Documents and Settings\Raph\Bureau\sa-mp\pawno\include\YSI/Core/YSI_bit.own(89) : fatal error 111: user error: Unkown cell size


Compilation aborted.Pawn compiler 3.0.3367			Copyright © 1997-2005, ITB CompuPhase


1 Error.
Reply
#2

User errors only occur when you have #error in your script, so search for that.
Reply
#3

This is my use script :

Code:
							///////////////////
							/////aInfo v1//////
							/////By Alive//////
							////2oo9-06-16/////
							//gta-team.gan.lt//
							///////////////////

             //Terms and conditions

//1. You cant't sell or release this script without my permission!
//2. You can only edit this script for you own usage!
//3. This release isn't stolen, copied or leeched, so please don't flame.
//4. Use this script at your own risk.

#include <a_samp>
#include <YSI>

#define Messages_Time 10000 // Messages will change after 10 seconds

new Text:Tekstas;
new Text:Online;
new Text:LoggedInAs;
new Text:Clock;
new Text:InfoLoading;
new UpdateTime;
new Hour, Min;
new CasStr[256];

forward CheckPlayersOnline();
forward CheckLoggedInAs(playerid);
forward PlayersUpdate();
forward TimeUpdate();
forward ZinuciuKeitimas();

new Zinutes[][] =
{
	"~g~[TIP]~w~Bienvenue sur ~r~[FR]DuSirk'BigJumps ~w~ /tele ~r~ /commands~w~!",
	" "
};

public OnFilterScriptInit()
{
	SetTimer("ZinuciuKeitimas", Messages_Time, true);
	SetTimer("CheckPlayersOnline", 1, true);
	SetTimer("CheckLoggedInAs", 1, true);
	UpdateTime = SetTimer("TimeUpdate", 60, true);
 	TimeUpdate();

	Tekstas = TextDrawCreate(6.000000, 436.000000, "~y~Bienvenue sur ~r~BigJumps~w~+~p~SuperBigJump~w~+~b~~w~+~g~Fun server [FR]DuSirk!");
  On‌line = TextDrawCreate(498.000000, 101.000000, "~w~Joueurs ~g~en ligne~w~:");
	LoggedInAs = TextDrawCreate(497.000000,111.000000, "Pseudo: ID:");
	Clock = TextDrawCreate(547.000000,22.000000,"--:--");
	InfoLoading = TextDrawCreate(497.000000,104.000000,"~b~Info ~r~Chargement...");


	TextDrawAlignment(Tekstas,0);
  TextDrawAlignment(Online,0);
	TextDrawAlignment(LoggedInAs,0);
	TextDrawAlignment(Clock,0);
	TextDrawAlignment(InfoLoading,0);


	TextDrawBackgroundColor(Tekstas,0x000000ff);
  TextDrawBackgroundColor(Online,0x000000ff);
	TextDrawBackgroundColor(LoggedInAs,0x000000ff);
	TextDrawBackgroundColor(Clock,0x000000ff);
	TextDrawBackgroundColor(InfoLoading,0x000000ff);


	TextDrawFont(Tekstas,1);
	TextDrawFont(Online,1);
	TextDrawFont(LoggedInAs,1);
	TextDrawFont(Clock,3);
	TextDrawFont(InfoLoading,1);


	TextDrawLetterSize(Tekstas,0.399999,1.000000);
	TextDrawLetterSize(Online,0.299999,1.000000);
	TextDrawLetterSize(LoggedInAs,0.299999,1.100000);
	TextDrawLetterSize(Clock,0.599999,1.900000);
	TextDrawLetterSize(InfoLoading,0.399999,1.400000);


	TextDrawColor(Tekstas,0xffffffff);
  TextDrawColor(Online,0xffffffff);
	TextDrawColor(LoggedInAs,0xffffffff);
	TextDrawColor(Clock,0xffffffff);
	TextDrawColor(InfoLoading,0xffffffff);


	TextDrawSetOutline(Tekstas,1);
  TextDrawSetOutline(Online,1);
	TextDrawSetOutline(LoggedInAs,1);
	TextDrawSetOutline(Clock,1);
	TextDrawSetOutline(InfoLoading,1);


	TextDrawSetProportional(Tekstas,1);
  TextDrawSetProportional(Online,1);
	TextDrawSetProportional(LoggedInAs,1);
	TextDrawSetProportional(Clock,1);
	TextDrawSetProportional(InfoLoading,1);


	TextDrawSetShadow(Tekstas,1);
  TextDrawSetShadow(Online,1);
  TextDrawSetShadow(LoggedInAs,1);
	TextDrawSetShadow(Clock,1);
	TextDrawSetShadow(InfoLoading,1);
	return 1;
}

public OnPlayerConnect(playerid)
{
	TextDrawShowForPlayer(playerid, Text:Tekstas);
	TextDrawShowForPlayer(playerid, Text:InfoLoading);
	return 1;
}

public OnPlayerSpawn(playerid)
{
	TextDrawShowForPlayer(playerid, Text:LoggedInAs);
	TextDrawShowForPlayer(playerid, Text:Online);
	TextDrawShowForPlayer(playerid, Text:Clock);
	TextDrawHideForPlayer(playerid, Text:InfoLoading);
	return 1;
}

public OnPlayerDisconnect(playerid, reason)
{
  TextDrawHideForPlayer(playerid, Text:Tekstas);
  	TextDrawHideForPlayer(playerid, Text:Online);
	TextDrawHideForPlayer(playerid, Text:Clock);
	TextDrawHideForPlayer(playerid, Text:LoggedInAs);
	return 1;
}

public OnFilterScriptExit()
{
	TextDrawHideForAll(Text:Tekstas);
	TextDrawHideForAll(Text:Online);
	TextDrawHideForAll(Text:Clock);
	TextDrawHideForAll(Text:LoggedInAs);
  KillTimer(UpdateTime);
	return 1;
}

public TimeUpdate()
{
  gettime(Hour, Min);

	if(Hour < 10 && Min < 10) format(CasStr, 25, "0%d:0%d", Hour, Min);
	else if(Hour > 9 && Min < 10) format(CasStr, 25, "%d:0%d", Hour, Min);
  else if(Hour < 10 && Min > 9) format(CasStr, 25,"0%d:%d", Hour, Min);
  else if(Hour > 9 && Min > 9) format(CasStr, 25, "%d:%d", Hour, Min);

	TextDrawSetString(Clock, CasStr);
  	return 1;
}

public CheckLoggedInAs(playerid)
{
	new string[128];
	new PlayerName[MAX_PLAYER_NAME];

	GetPlayerName(playerid, PlayerName, sizeof(PlayerName));
 	
	format(string,sizeof(string),"Pseudo: ~r~%s ~w~ID: ~r~%d", PlayerName, playerid);
	TextDrawSetString(Text:LoggedInAs, string);
	return 1;
}

public CheckPlayersOnline()
{
	new string[128];
	new PlayersOnline = 0;

	for(new i = 0; i < GetMaxPlayers(); i++)
	{
		if (IsPlayerConnected(i))
		{
			PlayersOnline++;
		}
	}
	format(string,sizeof(string),"~w~Joueurs ~g~en ligne~w~: ~r~%d", PlayersOnline);
	TextDrawSetString(Text:Online, string);
}

public ZinuciuKeitimas()
{
	static Number = 0;
	TextDrawSetString(Tekstas, Zinutes[Number++]);
	TextDrawShowForAll(Tekstas);
	if(Number == sizeof(Zinutes)) Number = 0;
	return 1;
}

new Masina[212][212] =
{
	"Landstalker","Bravura","Buffalo","Linerunner","Perrenial","Sentinel","Dumper","Firetruck",
	"Trashmaster","Stretch","Manana","Infernus","Voodoo","Pony","Mule","Cheetah","Ambulance","Leviathan","Moonbeam",
	"Esperanto","Taxi","Washington","Bobcat","Whoopee","BF Injection","Hunter","Premier","Enforcer","Securicar","Banshee",
	"Predator","Bus","Rhino","Barracks","Hotknife","Trailer","Previon","Coach","Cabbie","Stallion","Rumpo","RC Bandit",
	"Romero","Packer","Monster","Admiral","Squalo","Seasparrow","Pizzaboy","Tram","Trailer","Turismo","Speeder","Reefer",
	"Tropic","Flatbed","Yankee","Caddy","Solair","Berkley's RC Van","Skimmer","PCJ-600","Faggio","Freeway","RC Baron",
	"RC Raider","Glendale","Oceanic","Sanchez","Sparrow","Patriot","Quad","Coastguard","Dinghy","Hermes","Sabre","Rustler",
	"ZR-350","Walton","Regina","Comet","BMX","Burrito","Camper","Marquis","Baggage","Dozer","Maverick","News Chopper",
	"Rancher","FBI Rancher","Virgo","Greenwood","Jetmax","Hotring","Sandking","Blista Compact","Police Maverick","Boxvillde",
	"Benson","Mesa","RC Goblin","Hotring Racer A","Hotring Racer B","Bloodring Banger","Rancher","Super GT","Elegant",
	"Journey","Bike","Mountain Bike","Beagle","Cropduster","Stunt","Tanker","Roadtrain","Nebula","Majestic","Buccaneer",
	"Shamal","Hydra","FCR-900","NRG-500","HPV1000","Cement Truck","Tow Truck","Fortune","Cadrona","FBI Truck","Willard",
	"Forklift","Tractor","Combine","Feltzer","Remington","Slamvan","Blade","Freight","Streak","Vortex","Vincent","Bullet",
	"Clover","Sadler","Firetruck","Hustler","Intruder","Primo","Cargobob","Tampa","Sunrise","Merit","Utility","Nevada",
	"Yosemite","Windsor","Monster","Monster","Uranus","Jester","Sultan","Stratum","Elegy","Raindance","RC Tiger","Flash",
	"Tahoma","Savanna","Bandito","Freight Flat","Streak Carriage","Kart","Mower","Dune","Sweeper","Broadway","Tornado",
	"AT-400","DFT-30","Huntley","Stafford","BF-400","News Van","Tug","Trailer","Emperor","Wayfarer","Euros","Hotdog",
	"Club","Freight Box","Trailer","Andromada","Dodo","RC Cam","Launch","Police Car","Police Car","Police Car","Police Ranger",
	"Picador","S.W.A.T","Alpha","Phoenix","Glendale","Sadler","Luggage","Luggage","Stairs","Boxville","Tiller","Utility Trailer"
};

public OnPlayerStateChange(playerid, newstate, oldstate)
{
  new CarName[80];
	if(newstate == 2 || newstate == 3)
	{
		format(CarName, 80, "~g~%s", Masina[GetVehicleModel(GetPlayerVehicleID(playerid)) - 400][0]);
		GameTextForPlayer(playerid, CarName, 4000, 1);
	}
	return 1;
}
Reply
#4

I don't see the error
Reply
#5

Just remove
pawn Code:
#include <YSI>
line from that script.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)