SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 29/09/2017, 12:03 AM   #1
DarisGaming
Little Clucker
 
Join Date: Sep 2017
Posts: 5
Reputation: 0
Default Error while compile

Code:
error 017: undefined symbol "zonenames"
warning 215: expression has no effect
error 001: expected token: ";", but found "]"
error 029: invalid expression, assumed zero
fatal error 107: too many error messages on one line
My codes
Code:
pgpsicon[playerid] = CreateDynamicMapIcon(zonenames[locids[listitem]][z_maxx]-((zonenames[locids[listitem]][z_maxx]-zonenames[locids[listitem]][z_minx])/2), zonenames[locids[listitem]][z_maxy]-((zonenames[locids[listitem]][z_maxy]-zonenames[locids[listitem]][z_miny])/2), 0.0, 41, 0, -1, -1, playerid, 100000.0);
Anyone can help me
DarisGaming is offline   Reply With Quote
Old 29/09/2017, 01:00 AM   #2
Kaponi
Big Clucker
 
Kaponi's Avatar
 
Join Date: Mar 2017
Location: Venezuela
Posts: 110
Reputation: 9
Default Re: Error while compile

you do not have defined the variables "zonenames" so you say there.
__________________
-#LEAN
Kaponi is offline   Reply With Quote
Old 29/09/2017, 01:06 AM   #3
DarisGaming
Little Clucker
 
Join Date: Sep 2017
Posts: 5
Reputation: 0
Default Re: Error while compile

So,how to fix it
help me,i am new in samp scripter
DarisGaming is offline   Reply With Quote
Old 29/09/2017, 01:15 AM   #4
grymtn
Huge Clucker
 
Join Date: Jun 2013
Posts: 268
Reputation: 26
Default Re: Error while compile

so you should define zonenames which i guess would be like:

Code:
new zonenames[put here your locids count][put the number how many xes can be between maxx and minx];
also if you are a new scripter i suggest you stop editing/adding an existing advanced code, and start learning from scratch by try and learn method with your own codes, not try to fix some random code found online.

Sorry if this is your work but this looks like so complicated for a new starter, thats why i wrote that.
grymtn is offline   Reply With Quote
Old 29/09/2017, 01:41 AM   #5
DarisGaming
Little Clucker
 
Join Date: Sep 2017
Posts: 5
Reputation: 0
Default Re: Error while compile

idk about it,can you cfix this script to me
fully script fixed pls
Rewards:50/slots lifetime
i swear
DarisGaming is offline   Reply With Quote
Old 29/09/2017, 01:48 AM   #6
grymtn
Huge Clucker
 
Join Date: Jun 2013
Posts: 268
Reputation: 26
Default Re: Error while compile

im not a professional scripter and i dont think it is allowed to offer or accept a price for fixing something. Evenmore I dont even think i can fix it because im only just learning too. Consider what i said and stop using some stuff you found online.

Also if you found it online, I can find it online too. Then what becomes special about it? You just keep destroying the chance of player count you can get by using a public game mode, because everybody uses them and you clearly offer nothing new to them. Just think about it.

Theremore if you are looking for a scripter to fix your whole gamemode or something, you should look for people who does it for money, which exist ridiculously a lot in forum.
grymtn is offline   Reply With Quote
Old 06/10/2017, 11:47 PM   #7
DarisGaming
Little Clucker
 
Join Date: Sep 2017
Posts: 5
Reputation: 0
Default Re: Error while compile

Anybody can defined it for me?
rewards 100 slos host
DarisGaming is offline   Reply With Quote
Old 07/10/2017, 01:14 AM   #8
Steve57
Little Clucker
 
Join Date: Oct 2017
Posts: 8
Reputation: 1
Default Re: Error while compile

You can pm me but show me how u defiend the zonename variable
Ps:I will do but i dont want a reward
Steve57 is offline   Reply With Quote
Old 07/10/2017, 01:46 AM   #9
DarisGaming
Little Clucker
 
Join Date: Sep 2017
Posts: 5
Reputation: 0
Default Re: Error while compile

thx,pm me on fb name Farish Ayish
DarisGaming is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compile error. danodanodano Help Archive 4 18/06/2011 11:50 AM
[Help] Compile error jason121 Help Archive 8 27/09/2010 04:39 AM
compile error doo2002 Help Archive 2 13/09/2010 02:37 AM
Compile Error mortallx Help Archive 13 29/03/2009 06:42 PM
Compile Error. Can Someone Compile For Me Please? RolePlay360 Help Archive 2 11/03/2009 09:56 PM


All times are GMT. The time now is 10:05 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.