2 pawno errors, please help! -
DrugZ - 31.12.2008
I was creating objects
#include <a_samp>
CreateObject(3092, -2416.295166, -637.879089, 134.183807, 0.000000, 0.000000, 0.000000);
CreateObject(1575, -2415.827636, -636.444396, 131.802444, 0.000000, 0.000000, 0.000000);
CreateObject(1574, -2425.083251, -587.151123, 131.763397, 0.000000, 0.000000, 0.000000);
CreateObject(1216, -2421.334960, -599.290710, 132.276123, 0.000000, 0.000000, 0.000000);
CreateObject(2780, -2452.437255, -522.227416, 112.688064, 0.000000, 0.000000, 0.000000);
CreateObject(2780, -2464.856445, -525.843078, 112.822731, 0.000000, 0.000000, 0.000000);
#endif
and I had this 2 errors:
error 021: symbol already defined: "CreateObject"
error 026: no matching "#if..."
please help
Re: 2 pawno errors, please help! -
lalalo - 31.12.2008
Quote:
Originally Posted by Seif_
Remove #endif.
|
I had the same error!
Re: 2 pawno errors, please help! -
DrugZ - 31.12.2008
got it, but the Error 021 is still there! how to fix it?
Re: 2 pawno errors, please help! -
DrugZ - 31.12.2008
what do you mean? do I seperate it somehow or what? can you show me example out of those codes that i already made?
Re: 2 pawno errors, please help! -
DrugZ - 31.12.2008
because I don't really get you, how am I suppose to do this?
Re: 2 pawno errors, please help! -
DrugZ - 31.12.2008
I got it, but now I can't end it >_< , it says error 030: compound statement not closed at the end of file (started at line 6)
so how to end it?
Re: 2 pawno errors, please help! -
lalalo - 31.12.2008
Quote:
Originally Posted by DrugZ
I got it, but now I can't end it >_< , it says error 030: compound statement not closed at the end of file (started at line 6)
so how to end it?
|
you end it with } not )
Re: 2 pawno errors, please help! -
ReV. - 31.12.2008
is the CreateObject Under OnGameModeInIt?
Re: 2 pawno errors, please help! -
DrugZ - 31.12.2008
Yes it is, I forgot about it
Re: 2 pawno errors, please help! -
nateykurgan - 17.03.2011
The Error is you shit scripter xD