Warrock OFS hacks

Posts 1–3 of 3 · Page 1 of 1
Warrock OFS hacks
Ok so far i can code anything that uses a number ie, fast health, flag ammo etc,
this is a premium someone showed me 2 questions
1.)If someone could break this down to tell me what its doing .
Code:
void premium() //Gold Premium
{
DWORD dwPlayerPtr = *(DWORD*)Serverpointer;
if(dwPlayerPtr != 0)
{
*(long*)(dwPlayerPtr+OFS_PREMIUM) = 3, 10; // 1 = bronze  2 = silver 3 = gold
}
}
Second question is: how would i code something like sp up or super master etc

any help is greatly appreciated

Also when it says ""(dwPlayerPtr+OFS_PREMIUM) = 3, 10; // 1 = bronze 2 = silver 3 = gold"" The red stuff is what i really dont get
__________________________________________________ _________
MsnMessenger:cnttuchme@hotmail.com
Isn´t this c++?
Yeah it is >_<
Post this in the C++ section..
Posts 1–3 of 3 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Talk with us