0 Members and 2 Guests are viewing this topic.
function GetKeyPress(ID: byte; Key: string):booleanParameter Info: ID (Byte): Player ID to get the key press of. Key (String): See Description for more information.Description:This function will return true/false if a player is holding down the specified key.Key ResultLeft Left keyRight Right keyUp Jump/Up KeyDown Crouch/Down keyShoot Attack buttonJetpack Jetpack buttonGrenade Grenade buttonChangewep Change weapon buttonThrow Throw Weapon buttonReload Reload ButtonCrouch Crouch/Down keyProne Prone key (will stay TRUE while proned)
Quotefunction GetKeyPress(ID: byte; Key: string):booleanParameter Info: ID (Byte): Player ID to get the key press of. Key (String): See Description for more information.Description:This function will return true/false if a player is holding down the specified key.Key ResultLeft Left keyRight Right keyUp Jump/Up KeyDown Crouch/Down keyShoot Attack buttonJetpack Jetpack buttonGrenade Grenade buttonChangewep Change weapon buttonThrow Throw Weapon buttonReload Reload ButtonCrouch Crouch/Down keyProne Prone key (will stay TRUE while proned)
Last year, I dreamt I was pissing at a restroom, but I missed the urinal and my penis exploded.
It's not an event.
My new password is secure as shit Mate, I am not sure Shit is even secured nowadays.
Ability to only allow CrossFunc to access certain functions from specific scripts using scripting somehow.
Quote from: miketh2005 on July 10, 2009, 07:31:20 pmDonate to enesceHAHAHAHAHAHAHA
Donate to enesce
Not each specified number but each second, and if you use mod() function you can set it like mod(ticks) BUT the ticks musst be = xy*60.There should be an procedure that would call something every xy ticks.
AppOnIdle(Ticks: integer);vari: integer;beginfor i := 1 to 32if GetPlayerStat(i, primary) = 1 then repeat if GetPlayerStat(i, ammo) = 0 then WriteConsole(i,'LOL, NO BULLETS',$EE81FAA1); until GetPlayerStat(i, ammo) > 0end;
Ill describe it to you this way:Make a script like thisCode: [Select]AppOnIdle(Ticks: integer);vari: integer;beginfor i := 1 to 32if GetPlayerStat(i, primary) = 1 then repeat if GetPlayerStat(i, ammo) = 0 then WriteConsole(i,'LOL, NO BULLETS',$EE81FAA1); until GetPlayerStat(i, ammo) > 0end;Enjoy it.Not a access violation though, but it is the same effect.