07.09.2011, 18:59
Proof of Y-Less' Concept:
decompiled:
pawn Код:
#include <a_samp>
new globalVar1 = 1;
static globalStaticVar2 = 2;
main(){}
public OnFilterScriptInit()
{
static staticVar3 = 3;
staticVar3 = random(1000);
doSomethingRandomWoohoo();
printf("%d %d %d", globalVar1, globalStaticVar2, staticVar3);
return 1;
}
stock doSomethingRandomWoohoo()
{
globalVar1 = random(21000);
globalStaticVar2 = random(210000);
return 1;
}
pawn Код:
#include <a_samp>
#include <core>
#include <float>
new glob0 = 1;
new glob4 = 2;
new glob8 = 3;
main()
{
return 0;
}
public OnFilterScriptInit()
{
glob8 = random(1000);
functionA8();
printf("%d %d %d", 0, 4, 8);
return 1;
}
functionA8()
{
glob0 = random(21000);
glob4 = random(210000);
return 1;
}