14.12.2011, 14:03
pawn Code:
SetVVarInt(vehicleid, intname[], int);
SetVVarInt(vehicleid, intname[], int);
GivePlayerDamage(issuerid, targetid, Float:Amount);
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid)
{
if(gHasHollowPoint[issuerid])
{
GivePlayerDamage(issuerid, playerid, 10.0);
//if player dies OnPlayerDeath gets called correct
}
return 1;
}
ToggleLagshoot( 0/1 );
ToggleServerHealth( 0/1 );
I'm not going to suggest any functions, but I'd like to suggest some HH protection and anti lag shoot.
|
Also, maybe you can make these toggle-able? pawn Code:
|
Well, to solve HHers, you can link the player health to the server, not the game, so you can't hack it, just like score. As far as I know, some online games do that. |
For lag shoot, how about you link players to your screen, for example, when you hit a player on your screen, he will take damage, even though he is not hit on his screen. So, as soon as blood comes out, it adds damage to the player. |
ToggleLagshoot |
Then why did you?
Games that aren't forced to memory hack. That's just a hell of a lot more vulnerable to hacking, and would ruin sync completely. This is pointless and would never work, there is always going to be lag, you can't just "toggle" it. Maybe, you should research a bit before you post a suggestion. |
Games such as Call of Duty link the hits to your screen and I haven‘t seen a single hack for that. Same goes for health linking.
Also, ToggleLagShoot would toggle bullet linking. |