SA-MP Forums Archive
Looking for solution! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Looking for solution! (/showthread.php?tid=292021)



Looking for solution! - roleplay501 - 22.10.2011

Hello, I made a Textdraw admin record 'system'

Its counting the record number by the line in the text.
But when i'm deleting a record so the sequence is interrupted.

So its shown as (for example line 4 deleted)

1. text..
2. text..
3. text..
5. text..
...

And after deleting a line, if i will write a record, the sequence will be wrong.

It will be like, 1 2 3 5 5,
It will add more record as fifth..

The result of the deletion should make the sequence to correct itself.

So if recordid 4 deleted so the fifth wil become 4 and the sixth will become 5 and so on...

Help me to solve this problem please


Re: Looking for solution! - roleplay501 - 22.10.2011

SOLVED