01.02.2014, 14:58
Quote:
How To Make Score System With Timers
Introduction I'll be showing u today how to make score system with timers....first we will be defining them then set the timers then set the publics to gain score and killtimers after u gain it so it doesnt just reapet all over and i'll be making if player already have score < 2 ,, 2= number of timers scores u did so if u loged out and loged in just doesnt repeat ![]() The Start so first lets define our timers pawn Код:
Scripting so now we will set the timers pawn Код:
1000 = 1second 1minute = 60000 1hr = 3,600,000 so if u want it by hours just multiply 3,600,000 x [number of hrs] to get u the number of hrs u want in milliseconds ![]() So after ur done with setting ur timers now lets go to the part of gaining score and killtimer after the timer pass and gaining the score ![]() pawn Код:
pawn Код:
Summary In This Tutorial we used timers and game texts ![]() 1st (First): we defined them 2nd (Second): we set the timers 3rd (Third): we set the publics for gaining scores and killtimers Conclusion Now if u stayed 1minute online on server u gonna be lvl 1 means +1 then 2minutes lvl2 +1 more so score2 So i was showing u ex: for 2 scoretimers u can just keep adding to the number of lvls u want ![]() I Hope it was good tutorial ![]() ![]() Ok Thanks For Reading my tutorial i hope it was usefull for ur server ![]() ![]() PS: If something u didnt understand in my explanation just post it and i'll explain it ![]() Arshavin, Thanks bb.. |
PHP код:
C:\Users\Elvis VJR\Desktop\FreeRoams Los Santos GangWar!\gamemodes\GW.pwn(2093) : error 001: expected token: ")", but found ","
C:\Users\Elvis VJR\Desktop\FreeRoams Los Santos GangWar!\gamemodes\GW.pwn(2108) : error 001: expected token: ")", but found ","
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.