Web Tutorials
SAMP SCRIPTING – How to fix error 017: undefined symbol easy

SAMP SCRIPTING – How to fix error 017: undefined symbol easy

Welcome to the world of pawno scripting. If you have problems with the Pawno language, you can find help on our tutorials.  If you script your personal mod ( samp gta sa server ), this is the right place for you. Today will show you , how to fix error 017 , undefined symbol.

We will explain why the error occurs. Before using a variable, you must always define the specified code (string) above the code. In our case it is “string”. String requires entering the length of the line, which the language will read and display inside the game. Let

‘s move on to a graphic explanation how to fix error 017:

The image below shows our code and the line where the error is. In our case, it is line 68857.

How to fix error 017

We used the string to create a Send Client Message on the server. After that we get an error like in the picture Undefined symbol ” string”

undefined symbol

How to fix error 017: undefined symbol ? Easy, you just need to add “string” to the beginning of your variable or command:

  • new string [600];

In the picture below is our command, and below the command we added “string” and the length of the string, which is 500.

After adding , re-compile your script and it should run without errors. You must pay attention to the length of the string. The best solution is to count how many characters there are and enter that many in the string to avoid crashing the server. We recommend that you use approximately the exact string length number on your server.

If you are new to samp scripting and want to start creating your mod, you can download the scripting language at this link.  If you need a sample client server to start scripting your mod, download it from this link.  That would be all, if you need help, you can look at our other tutorials about samp scripting. We hope we helped you

 

Leave a Reply

Your email address will not be published. Required fields are marked *