SA-MP Forums Archive
[Plugin] GVar Plugin - 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: Plugin Development (https://sampforum.blast.hk/forumdisplay.php?fid=18)
+--- Thread: [Plugin] GVar Plugin (/showthread.php?tid=151076)

Pages: 1 2 3 4 5 6


Re: [REL] GVar Plugin v1.2 - -Davee- - 02.08.2010

I sent a PM about a bug Incognito!!


Re: [REL] GVar Plugin v1.2 - Incognito - 17.08.2010

That was on 0.3b. What you said wasn't wrong, though—it just wasn't true in all cases.


Respuesta: [REL] GVar Plugin v1.2 - DarkChildren - 17.08.2010

Great thank you very much I will use it


Re: [REL] GVar Plugin v1.2 - nemesis- - 21.08.2010

GVar's 1.3 is available for anyone who didn't notice.


Re: [REL] GVar Plugin v1.3 - Johnny_Xayc - 04.09.2010

Added function DeleteAllGVars(); ,thanks


Re: [REL] GVar Plugin v1.3 - DiddyBop - 09.09.2010

is GVars cross script, like pvar?


Re: [REL] GVar Plugin v1.3 - Calgon - 09.09.2010

Quote:
Originally Posted by DiddyBop
Посмотреть сообщение
is GVars cross script, like pvar?
Yes... Read the first page.


Re: [REL] GVar Plugin v1.3 - papedo - 28.10.2010

Hi, I tried to run it on my PC on Windows 7 Professional 64-bit, but it did not work. Works it on 64-bit version?


Re: [REL] GVar Plugin v1.3 - yezizhu - 06.11.2010

How to use gvar to store a tag:variable without compiler warning 213: tag mismatch.
eg:
Код:
public OnGameModeInit(){
    SetGVarInt("textdraw_gamemode",TextDrawCreate(bla...));
    return true;
}
public OnPlayerConnect(playerid){
    TextDrawShowForPlayer(playerid,GetGVarInt("textdraw_gamemode"));
    return true;
}
It does work, but with warning 213 given.


Re: [REL] GVar Plugin v1.3 - Sergei - 06.11.2010

Код:
public OnGameModeInit(){
    SetGVarInt("textdraw_gamemode",_:TextDrawCreate(bla...));
    return true;
}
public OnPlayerConnect(playerid){
    TextDrawShowForPlayer(playerid,Text:GetGVarInt("textdraw_gamemode"));
    return true;
}



Re: [REL] GVar Plugin v1.3 - yezizhu - 06.11.2010

Quote:
Originally Posted by Sergei
Посмотреть сообщение
Код:
public OnGameModeInit(){
    SetGVarInt("textdraw_gamemode",_:TextDrawCreate(bla...));
    return true;
}
public OnPlayerConnect(playerid){
    TextDrawShowForPlayer(playerid,Text:GetGVarInt("textdraw_gamemode"));
    return true;
}
Work perfectly, thx a lot


Re: [REL] GVar Plugin v1.3 - Babul - 16.11.2010

small, efficient, dependable. it spe(e)d up /me @ developping a lot, tyvm!
http://www.xfire.com/video/3af52c/
that FS "TDtruckers" takes usage of 1024 GVars, the CPU time it uses is worth a /ign ^^


Re: [REL] GVar Plugin v1.3 - TheGuardianAngel - 16.11.2010

Incognito ..... this plugin rocks but the audio plugin from you is better


Re: [REL] GVar Plugin v1.3 - Sergei - 16.11.2010

Quote:
Originally Posted by TheGuardianAngel
Посмотреть сообщение
Incognito ..... this plugin rocks but the audio plugin from you is better
Couldn't you make more idiotic statement?


Re: [REL] GVar Plugin v1.3 - Slice - 16.11.2010

Quote:
Originally Posted by Sergei
Посмотреть сообщение
Couldn't you make more idiotic statement?
I don't see what's so idiotic about it. The guy was just giving props to Incognito.
Seeing as the only thing you ever do on these forums is write condescending comments.. I'd say you're the one giving out idiotic statements.


Re: [REL] GVar Plugin v1.3 - Sergei - 17.11.2010

Quote:
Originally Posted by g_aSlice
Посмотреть сообщение
I don't see what's so idiotic about it. The guy was just giving props to Incognito.
Seeing as the only thing you ever do on these forums is write condescending comments.. I'd say you're the one giving out idiotic statements.
How can you compare GVar plugin and Audio plugin? It's like I would say notepad is good, but outlook is better.

Quote:
Originally Posted by RealCop228
Посмотреть сообщение
Would using "GVars" be any faster then just using regular variables, or does the speed stay the same?
It's not faster, but far more useful because of dynamic memory.
Quote:
Originally Posted by Incognito
Посмотреть сообщение
However, as your tests revealed, both PVars and GVars were dozens of times slower than arrays, so if you're scripting something that is absolutely time critical (most PAWN scripts aren't), I would recommend not using these functions at all.



Re: [REL] GVar Plugin v1.3 - HACKHERS - 05.12.2010

So what about PVar ?. GVar is faster than PVar ?


Re: [REL] GVar Plugin v1.3 - Scenario - 05.12.2010

Quote:
Originally Posted by HACKHERS
Посмотреть сообщение
So what about PVar ?. GVar is faster than PVar ?
Read the above message my "Sergi"...


Re: [REL] GVar Plugin v1.3 - papedo - 16.09.2011

Please update for 0.3d scripting


Re: [REL] GVar Plugin v1.3 - kurta999 - 16.09.2011

Why ?

It works without any problem with 0.3d!