[HELP] Adding 1000+ Pickups - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP] Adding 1000+ Pickups (
/showthread.php?tid=143340)
[HELP] Adding 1000+ Pickups -
whitedragon - 22.04.2010
How add 1000 + pickup to game? i know that limit is 100 but how make it 1000 and show every second user 100 closest?
Re: [HELP] Adding 1000+ Pickups -
M4S7ERMIND - 22.04.2010
According to SA-MP Wiki, limit is 2048 pickups.
https://sampwiki.blast.hk/wiki/Limits
Re: [HELP] Adding 1000+ Pickups -
whitedragon - 22.04.2010
But how add them from file?

i know it's dumb question

but can someone answer it. My brain not working right now
Re: [HELP] Adding 1000+ Pickups -
ziomal432 - 22.04.2010
From file?
Код:
new File:f = fopen("filename.txt", io_read),
string[100];
if(f)
{
while(fread(f, string))
{
//here do file parsing. Tip: sscanf.
}
}