Results 1 to 4 of 4
  1. #1
    wicho_koz's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    194
    Reputation
    12
    Thanks
    52
    My Mood
    Shocked

    cPos is not working!

    i trying activate hacks with LBUTTON (Mouse Click) and disable hacks with (right Click)

    and i have problems with my code:
    Code:
    it is my DrawBox
    DrawText(pDevice,70, 85, C_TITLE, "Show Fps");
    if(FPS == 1) DrawBox(160, 85, 7, 7, C_ON2, Black, pDevice);
    if(FPS == 0) DrawBox(160, 85, 7, 7, C_OFF2, Black, pDevice);

    Code:
    if(cPos.x > 160 && cPos.x < 7 && cPos.y > 85 && cPos.y < 7) {
    		if(GetAsyncKeyState(VK_LBUTTON)<0){
    				if(FPS == 0){
    		DrawBox(160, 85, 7, 7, C_ON2, Black, pDevice);
    		FPS = 1;
    		}
    		}
    		}
    if(cPos.x > 160 && cPos.x < 7 && cPos.y > 85 && cPos.y < 7) {
    		if(GetAsyncKeyState(VK_RBUTTON)<0){
    				if(FPS == 1){
    		DrawBox(160, 85, 7, 7, C_OFF2, Black, pDevice);
    		FPS = 0;
    		}
    		}
    	}
    PD: my menu start in (x 30) and (Y 70)
    |^^^^^^^^^^\||____
    |The[MPGH]Truck |||'""|""\__,_
    | _____ 4ever __ l||__|__|___|)
    |(@)@)"""""""**|(@)(@)**|(@)


  2. #2
    kibbles18's Avatar
    Join Date
    Oct 2008
    Gender
    male
    Location
    US
    Posts
    860
    Reputation
    5
    Thanks
    124
    cPos means nothing to us

  3. #3
    teehee15's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Posts
    334
    Reputation
    52
    Thanks
    109
    Quote Originally Posted by kibbles18 View Post
    cPos means nothing to us
    ... its a kind of coding for hax...

  4. #4
    [POWER]'s Avatar
    Join Date
    Oct 2010
    Gender
    male
    Posts
    117
    Reputation
    10
    Thanks
    21
    My Mood
    Pensive
    Code:
    if(cPos.x > 160 && cPos.x < 7 && cPos.y > 85 && cPos.y < 7) {

  5. The Following User Says Thank You to [POWER] For This Useful Post:

    OBrozz (09-14-2011)

Similar Threads

  1. Hacks not working
    By crazy4her in forum WarRock - International Hacks
    Replies: 12
    Last Post: 06-07-2007, 04:25 AM
  2. TerrainGeometry Not Working Anymore?
    By Jammy in forum WarRock - International Hacks
    Replies: 0
    Last Post: 03-16-2007, 06:31 PM
  3. why warrock not working now??
    By tolik13 in forum WarRock - International Hacks
    Replies: 4
    Last Post: 07-09-2006, 04:27 PM
  4. WPE not work
    By trekpik in forum WarRock - International Hacks
    Replies: 3
    Last Post: 07-09-2006, 11:09 AM