SA-MP Forums Archive
error 001 - 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 001 (/showthread.php?tid=591383)



error 001 - Welaurs - 11.10.2015

Htlp m8, pls.
E:\Çàêàçû\10 Òèìóð Àáëååâ\gamemodes\modik.pwn(1792 : error 001: expected token: ";", but found "-identifier-"
17928-17936:
Quote:

oclock[1] = TextDrawCreate(545.666625, 50.607482, "20-09-1992");
TextDrawLetterSize(oclock[1], 0.258332, 1.682963);
TextDrawAlignment(oclock[1], 1);
TextDrawColor(oclock[1], -1);
TextDrawSetShadow(oclock[1], 0);
TextDrawSetOutline(oclock[1], 1);
TextDrawBackgroundColor(oclock[1], 51);
TextDrawFont(oclock[1], 2);
TextDrawSetProportional(oclock[1], 1);




Re: error 001 - Dusan01 - 11.10.2015

give lines before 1792


Re: error 001 - Welaurs - 11.10.2015

Quote:
Originally Posted by Dusan01
Посмотреть сообщение
give lines before 1792
PHP код:
/*oclock[0] = TextDrawCreate(559.458374, 28.676500, "12:00");
    TextDrawLetterSize(oclock[0], 0.449999, 1.600000);
    TextDrawAlignment(oclock[0], 1);
    TextDrawColor(oclock[0], -1);
    TextDrawSetShadow(oclock[0], 3);
    TextDrawSetOutline(oclock[0], 0);
    TextDrawBackgroundColor(oclock[0], 51);
    TextDrawFont(oclock[0], 2);
    TextDrawSetProportional(oclock[0], 1);
    oclock[1] = TextDrawCreate(551.999755, 41.813335, "0-00-00");
    TextDrawLetterSize(oclock[1], 0.420666, 1.624889);
    TextDrawAlignment(oclock[1], 1);
    TextDrawColor(oclock[1], -1);
    TextDrawSetShadow(oclock[1], 3);
    TextDrawSetOutline(oclock[1], 0);
    TextDrawBackgroundColor(oclock[1], 51);
    TextDrawFont(oclock[1], 2);
    TextDrawSetProportional(oclock[1], 1);*/
    
oclock[0] = TextDrawCreate(545.66638137.748130"20:00:00");
    
TextDrawLetterSize(oclock[0], 0.3163291.575108);
    
TextDrawAlignment(oclock[0], 1); 



Re: error 001 - Dusan01 - 11.10.2015

more, that witch are disabled will affect to error skip that lines give me first line witch is used before
PHP код:
oclock[0] = TextDrawCreate(545.66638137.748130"20:00:00"); 



Re: error 001 - Welaurs - 11.10.2015

Quote:
Originally Posted by Dusan01
Посмотреть сообщение
more, that witch are disabled will affect to error skip that lines give me first line witch is used before
PHP код:
oclock[0] = TextDrawCreate(545.66638137.748130"20:00:00"); 
dat its very strange. If im use /**/ i have error in dat lines:
PHP код:
trekl 250000;
    
viktora 0;
    
mp 0;. 
dat is impossible.


Re: error 001 - AbyssMorgan - 11.10.2015

PHP код:
trekl 250000
    
viktora 0
    
mp 0;.  <--- "." 
PHP код:
trekl 250000
    
viktora 0
    
mp 0



Re: error 001 - Sew_Sumi - 11.10.2015

PHP код:
mp 0;. 
It's the fullstop...


Re: error 001 - Welaurs - 11.10.2015

Quote:
Originally Posted by Sew_Sumi
Посмотреть сообщение
PHP код:
mp 0;. 
It's the fullstop...
its miss-click.
PHP код:
mp 0



Re: error 001 - Welaurs - 11.10.2015

Fixed. Ty all.