SA-MP Forums Archive
Help with the Error 070 - 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: Help with the Error 070 (/showthread.php?tid=522300)



Help with the Error 070 - Artemis92 - 26.06.2014

Hi there,
I'm just here to test a new script, but I now get 26 times this one error.

Ther Error:

Quote:

error 070: rational number support was not enabled

Here the corresponding line:
PHP код:
new Jobcenter[3][jobcInfo] = {
    {
"Los Santos Jobcenter",    "Los Santos",   595.6722, -1250.449318.2901}, //Errorzeile
    
{"San Fierro Jobcenter",    "San Fierro", -2170.6006,   251.981235.3347},
    {
"Las Venturas Jobcenter",     "Las Venturas",  2375.5188,  2306.3293,  8.1406}
}; 
I'd never go hear about this error may villeicht anyone tell me what is wrong with this line to me?
I hope you can help me
Ever Many thanks for your help.

And sorry for my bad english: (


Re: Help with the Error 070 - Eth - 26.06.2014

show me the definition of jobcInfo?


AW: Help with the Error 070 - Artemis92 - 26.06.2014

Here the enum to:

PHP код:
enum jobcInfo
{
    
JName[35],
    
Location[30],
    
Float:posx,
    
Float:posy,
    
Float:posz
}; 
And so it is used thereafter:
PHP код:
for(new 0sizeof Jobcenteri++)
    {
        new 
jstr[100];
        
format(jstr,sizeof(jstr),"%s\nBenutze /job, um das Job-Menu aufzurufen",Jobcenter[i][JName]);
        
CreateDynamicPickup(1239,1,Jobcenter[i][posx],Jobcenter[i][posy],Jobcenter[i][posz],-1);
        
CreateDynamic3DTextLabel(jstr,0xBBBBBBFF,Jobcenter[i][posx],Jobcenter[i][posy],Jobcenter[i][posz]+0.5,10.0,INVALID_PLAYER_ID,INVALID_VEHICLE_ID,1,-1,-1,-1,10.0);
    } 



Re: Help with the Error 070 - Eth - 26.06.2014

I didn't get any error, please try to recompile it again, and make sure that u have 0.3z server


AW: Help with the Error 070 - Artemis92 - 26.06.2014

Thank you for your help
Yes, I use the 0.3 version but still useable still get the errors.
But are villeicht to clamp errors.