Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- hook OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
- {
- if (newkeys & KEY_SPRINT)
- {
- new skaicius;
- skaicius += 10;
- new string[20];
- new Float:amount;
- amount = (427.0 + (5 * 0.98));
- TextDrawTextSize(horTD[2], amount, 0.0);
- format(string,sizeof(string), "%d", amount);
- TextDrawSetString(horTD[2], string);
- TextDrawShowForPlayer(playerid, horTD[2]);
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement