|
 |
|
|
|
|
|
Attention:
|
The Mod Showroom is only for posting previews/downloads of completed or near finished mods. All help topics should be posted in the Editing Discussion forums. Help topics and mod requests posted here will be locked or binned. Thank you.
|
|
GTAGarage.com : Free mod hosting, attach your files and screenshots to your topics
GTAModding.com : A wiki for everything related to GTA modding, including documentation and tutorials
|
[GTAIV|REL|ALPHA] Simple native trainer
 |
|
 |
| |
Marcel051182  |
|
Player Hater

Group: Members
Joined: Dec 25, 2008


|
| QUOTE (dualCore @ Dec 28 2008, 15:38) | | QUOTE (Marcel051182 @ Dec 28 2008, 14:45) | @ dualCore
can you made a hotkey for this funtion??
Give ammo: refulls the ammo for all Niko's weapons <- hotkey |
Hm as far as I know when you,ve used this option your ammo is 9999 and never goes down. Do you need anything else? just write |
yes can you write a script with one damaged cars can repair again and can you integrate this 2 scripts??? ---------- GTA IV Alice "BUllet Time" script example ---------- ---------- © HippieCommunist 2008 And Reconstructed By Aceship ---------- -- Bullet time key is Mouse Middle Button --global variables PLAYER_ID, PLAYER_INDEX, PLAYER_CHAR, Time = 0
function InitScript() -- blah-blah-blah Wait(10000) end
function WaitForPlayerPoolCreation() while (IsPlayerPoolCreated() == 0) do Wait(2000) end end
function WaitForValidPlayer() PLAYER_CHAR = 0 repeat CallNative("GET_PLAYER_ID") PLAYER_ID = GetIntResult() if (PLAYER_ID >= 0) then PushInt(PLAYER_ID) CallNative("CONVERT_INT_TO_PLAYERINDEX") PLAYER_INDEX = GetIntResult() PushInt(PLAYER_INDEX) PushVarPtr() CallNative("GET_PLAYER_CHAR") PLAYER_CHAR = GetIntParam(1) if (PLAYER_CHAR <= 0) then Wait(1000) end end until (PLAYER_CHAR > 0) end
function Bullettime() if Time == 0 then Time = 1 else Time=0 end PushInt(Time) CallNative("SET_GRAVITY_OFF") if Time == 1 then PushFloat(0.6) CallNative("SET_TIME_SCALE") Wait(1000) PushFloat(0.3) CallNative("SET_TIME_SCALE") Wait(3000) PushFloat(0.2) CallNative("SET_TIME_SCALE") end if Time == 0 then PushFloat(0.5) CallNative("SET_TIME_SCALE") Wait(1000) PushFloat(0.75) CallNative("SET_TIME_SCALE") Wait(1000) PushFloat(1.0) CallNative("SET_TIME_SCALE") end end
function main() InitScript() while true do if (IsKeyPressed(4) == 1) then WaitForPlayerPoolCreation() WaitForValidPlayer() Bullettime() Wait(1000) end end end
-- start main();and ---------- GTA IV Alice "Save everywhere" script example ---------- ---------- © Alexander Blade 2008 ---------- -- Save key is TAB --global variables PLAYER_ID, PLAYER_INDEX, PLAYER_CHAR, SAVEDONE, TIMER = 0
function InitScript() -- blah-blah-blah Wait(10000) end
function WaitForPlayerPoolCreation() while (IsPlayerPoolCreated() == 0) do Wait(2000) end end
function WaitForValidPlayer() PLAYER_CHAR = 0 repeat CallNative("GET_PLAYER_ID") PLAYER_ID = GetIntResult() if (PLAYER_ID >= 0) then PushInt(PLAYER_ID) CallNative("CONVERT_INT_TO_PLAYERINDEX") PLAYER_INDEX = GetIntResult() PushInt(PLAYER_INDEX) PushVarPtr() CallNative("GET_PLAYER_CHAR") PLAYER_CHAR = GetIntParam(1) if (PLAYER_CHAR <= 0) then Wait(1000) end end until (PLAYER_CHAR > 0) end
function SaveGame() SAVEDONE = 0 TIMER = 0 CallNative("ACTIVATE_SAVE_MENU") Wait(1000) while (SAVEDONE == 0) and (TIMER < 10000) do TIMER = TIMER + 100 Wait(100) CallNative("DID_SAVE_COMPLETE_SUCCESSFULLY") SAVEDONE = GetIntResult() end end
function main() InitScript() while true do if (IsKeyPressed(9) == 1) then WaitForPlayerPoolCreation() WaitForValidPlayer() if (IsKeyPressed(9) == 1) then SaveGame() Wait(2000) end end Wait(300) end end
-- start main();the save Script on the tab-key the bullet script on the middle mouse key is the posible?? This post has been edited by Marcel051182 on Sunday, Dec 28 2008, 17:12
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
andree  |
|
PIMP

Group: Members
Joined: Apr 11, 2007


|
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
Pages:
(35) 1 2 [3] 4 5 ... Last »
Track this topic
Receive email notification when a reply has been made to this topic and you are not active on the board.
Subscribe to this forum
Receive email notification when a new topic is posted in this forum and you are not active on the board.
Download / Print this Topic
Download this topic in different formats or view a printer friendly version.
| |
 |
|
 |
|
|
|
|