Function to return a string
#3

When a run time error occurs while executing a command, it gives the unknown command message. So load crashdetect plugin (https://github.com/Zeex/samp-plugin-...es/tag/v4.15.1) and compile with -d3 (https://github.com/Zeex/samp-plugin-...ith-debug-info).

I'll guess that run time error 4 is caused because of GetCasa(playerid) function which returns a value that goes off-bounds with the size of array "Casa". Though, let's see what crashdetect will print to be sure.
Reply


Messages In This Thread
Function to return a string - by Fel486 - 21.04.2015, 19:40
Re: Function to return a string - by [KHK]Khalid - 21.04.2015, 20:43
Re: Function to return a string - by Konstantinos - 21.04.2015, 20:57
Re: Function to return a string - by Fel486 - 21.04.2015, 21:12
Re: Function to return a string - by Konstantinos - 21.04.2015, 21:24
Re: Function to return a string - by Fel486 - 21.04.2015, 21:33
Re: Function to return a string - by Konstantinos - 21.04.2015, 21:39
Re: Function to return a string - by Fel486 - 21.04.2015, 21:50

Forum Jump:


Users browsing this thread: 1 Guest(s)