Post: No1 For Accuracy..
01-17-2011, 08:09 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); ....................................
(adsbygoogle = window.adsbygoogle || []).push({});

The following 4 users say thank you to x_DaftVader_x for this useful post:

Blackstorm, Carbon0x, Cmd-X, xBlueZ
01-17-2011, 05:14 PM #11
Jared
Tranquility.
Originally posted by Homer
You can't just change your accuracy stats on their own so I used this for myself in onPlayerspawned and it makes me no 1 on the leaderboards for accuracy.

It does glitch it so you disappear and reappear but , whatever.

    stat() {
totalShots = 1;
hits = 1;
self maps\mp\gametypes\_persistence::statSetBuffered("totalShots", totalShots);
self maps\mp\gametypes\_persistence::statSetBuffered("accuracy", int(hits * 10000 / totalShots));
self maps\mp\gametypes\_persistence::statSetBuffered("misses", int(totalShots - hits));
}


will this acukatlly stick or will it go back to what it was?
01-17-2011, 06:26 PM #12
Originally posted by gus248 View Post
will this acukatlly stick or will it go back to what it was?


You will get reset back after a few minutes (maybe less) but if you add it to onPlayerSpawned like suggested then it will always be there everytime you enter a game Smile
01-17-2011, 06:29 PM #13
Jared
Tranquility.
Originally posted by Carbon0x View Post
You will get reset back after a few minutes (maybe less) but if you add it to onPlayerSpawned like suggested then it will always be there everytime you enter a game Smile


ok man thanks

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo