SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 3 of 3
Search took 0.00 seconds.
Search: Posts Made By: Kwarde
Forum: Scripting Help 21/02/2020, 06:12 PM
Replies: 6
Views: 154
Posted By Kwarde
Re: array index out of bounds

A simple for() loop would do.
https://forum.sa-mp.com/showthread.php?p=4122459
You might want to read about scripting basics.
Forum: Scripting Help 21/02/2020, 02:39 PM
Replies: 6
Views: 154
Posted By Kwarde
Re: array index out of bounds

Well, first of all, you're just formatting the string using mysql_format(). You're not actually sending the query to the database. Use mysql_tquery().
In the callback you're providing in...
Forum: Scripting Help 21/02/2020, 02:18 PM
Replies: 6
Views: 154
Posted By Kwarde
Re: array index out of bounds

It literally means what it says: Index out of bounds.
fInfo's size is 11 (MAX_FACTIONS). You are trying to access index 11 (in the sscanf() part and in the mysql_format() part).
If you declare an...
Showing results 1 to 3 of 3

 

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


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