Wysłany: 2013-04-05, 21:14
TerraNova
Wiek: 36 Na forum: 5118 dni Posty: 98
Nick w MP: Lonalchemik
Piwa : 797
Mam Anty money cheat
Kod: #define GET_MONEY(%1) GetPlayerMoney(%1)
#define ADD_MONEY(%1,%2) SetPVarInt(%1,"AntyMoney",GetPVarInt(%1, "AntyMoney") + %2)
#define Loop(%1,%2) \
for(new %1 = 0; %1 < %2; %1++)
public AntyCheat()
{
Loop(i, MAX_PLAYERS)
{
//money
ResetPlayerMoney(i);
GivePlayerMoney(i, GetPVarInt(i, "AntyMoney"));
}
return 1;
}
stock GetMoney(playerid)
return GetPVarInt(playerid, "AntyMoney");
stock ResetMoney(playerid)
return SetPVarInt(playerid, "AntyMoney", 0);
stock SetMoney(playerid, money)
return SetPVarInt(playerid, "AntyMoney", money);
stock GiveMoney(playerid, money)
return SetPVarInt(playerid, "AntyMoney", GetPVarInt(playerid, "AntyMoney")+money);
i podczas dania kasy przez admina resetuje mi kase
Wysłany: 2013-04-05, 22:10
IgrexolonO
Wiek: 34 Na forum: 6809 dni Posty: 1386
Piwa : 1062
Yyy. Poka? komend? na danie tych pieni??k?w.
Wysłany: 2013-04-06, 01:36
Myszoskoczek
Wiek: 32 Na forum: 4891 dni Posty: 12
Piwa : 32
Kod: public AntyCheat()
{
Loop(i, MAX_PLAYERS)
{
//money
ResetPlayerMoney(i);
GivePlayerMoney(i, GetPVarInt(i, "AntyMoney"));
}
return 1;
}
Strasznie optymalne...
W miejscu "//money" daj sobie warunki, po co wykonywa? ci?gle co?, co np. si? nie zmienia w og?le? (Gracz nie czituje, ci?gle poziom kasy jest ten sam).
Tagi: anty :: money :: cheat
Anonymous
Na forum: 245 dni
Posty: 1
Anonymous Koniecznie zajrzyj na: