Advertisement
Yton

Untitled

Aug 15th, 2015
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. hook OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
  2. {
  3. if (newkeys & KEY_SPRINT)
  4. {
  5. new skaicius;
  6. skaicius += 10;
  7. new Float:amount;
  8. new string[20];
  9. amount = (427.0 + (90 * 0.98));
  10. TextDrawTextSize(horTD[2], amount, 0.0);
  11. format(string,sizeof(string), "%d", amount);
  12. TextDrawSetString(horTD[2], string);
  13. }
  14. return 1;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement