[Plugin] GVar Plugin
#41

I sent a PM about a bug Incognito!!
Reply
#42

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

Great thank you very much I will use it
Reply
#44

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

Added function DeleteAllGVars(); ,thanks
Reply
#46

is GVars cross script, like pvar?
Reply
#47

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

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?
Reply
#49

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.
Reply
#50

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

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
Reply
#52

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 ^^
Reply
#53

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

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

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.
Reply
#56

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.
Reply
#57

So what about PVar ?. GVar is faster than PVar ?
Reply
#58

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

Please update for 0.3d scripting
Reply
#60

Why ?

It works without any problem with 0.3d!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)