SA-MP Forums Archive
ERROR: decleration - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: ERROR: decleration (/showthread.php?tid=594735)



ERROR: decleration - BarFix - 22.11.2015

Code:
public OnGameModeInit()
{
	LoadHouses();
	return 1;
}
{	for(new i = 0; i < sizeof(CreatedCars); i++)
	{
		CreatedCars[i] = INVALID_VEHICLE_ID;
	}
	settime();
	WeekDayg = TextDrawCreate(502.000000,11.000000,"----");
	TextDrawAlignment(WeekDayg,0);
	TextDrawBackgroundColor(WeekDayg,0x000000ff);
	TextDrawFont(WeekDayg,3);
	TextDrawLetterSize(WeekDayg,0.700000,1.000000);
	TextDrawColor(WeekDayg,0xffff00cc);
	TextDrawSetOutline(WeekDayg,1);
	TextDrawSetProportional(WeekDayg,1);
	TextDrawSetShadow(WeekDayg,10);
	Clock = TextDrawCreate(547.0, 24.0, "--:--");
	TextDrawLetterSize(Clock, 0.6, 1.8);
	TextDrawFont(Clock, 3);
	TextDrawSetOutline(Clock, 2);



Re: ERROR: decleration - AbyssMorgan - 22.11.2015

wtf man

PHP Code:
public OnGameModeInit(){
{
    for(new 
0sizeof(CreatedCars); i++){
        
CreatedCars[i] = INVALID_VEHICLE_ID;
    }
    
settime();
    
WeekDayg TextDrawCreate(502.000000,11.000000,"----");
    
TextDrawAlignment(WeekDayg,0);
    
TextDrawBackgroundColor(WeekDayg,0x000000ff);
    
TextDrawFont(WeekDayg,3);
    
TextDrawLetterSize(WeekDayg,0.700000,1.000000);
    
TextDrawColor(WeekDayg,0xffff00cc);
    
TextDrawSetOutline(WeekDayg,1);
    
TextDrawSetProportional(WeekDayg,1);
    
TextDrawSetShadow(WeekDayg,10);
    
Clock TextDrawCreate(547.024.0"--:--");
    
TextDrawLetterSize(Clock0.61.8);
    
TextDrawFont(Clock3);
    
TextDrawSetOutline(Clock2);
    
    
    
LoadHouses();
    return 
1;




Re: ERROR: decleration - BarFix - 22.11.2015

Quote:
Originally Posted by AbyssMorgan
View Post
wtf man

PHP Code:
public OnGameModeInit(){
{
    for(new 
0sizeof(CreatedCars); i++){
        
CreatedCars[i] = INVALID_VEHICLE_ID;
    }
    
settime();
    
WeekDayg TextDrawCreate(502.000000,11.000000,"----");
    
TextDrawAlignment(WeekDayg,0);
    
TextDrawBackgroundColor(WeekDayg,0x000000ff);
    
TextDrawFont(WeekDayg,3);
    
TextDrawLetterSize(WeekDayg,0.700000,1.000000);
    
TextDrawColor(WeekDayg,0xffff00cc);
    
TextDrawSetOutline(WeekDayg,1);
    
TextDrawSetProportional(WeekDayg,1);
    
TextDrawSetShadow(WeekDayg,10);
    
Clock TextDrawCreate(547.024.0"--:--");
    
TextDrawLetterSize(Clock0.61.8);
    
TextDrawFont(Clock3);
    
TextDrawSetOutline(Clock2);
    
    
    
LoadHouses();
    return 
1;

LOL I DIDNT EVEN SEE IT.