SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 21/03/2017, 07:05 PM   #11
AndySedeyn
High-roller
 
AndySedeyn's Avatar
 
Join Date: Feb 2014
Location: Belgium
Posts: 1,350
Reputation: 676
Default Re: Count Down Timer Help!

http://wiki.sa-mp.com/wiki/TextDrawShowForPlayer - I don't see this used anywhere. Also, don't forget to hide it again when the countdown is over.
AndySedeyn is online now   Reply With Quote
Old 21/03/2017, 07:05 PM   #12
Scripter18
Gangsta
 
Scripter18's Avatar
 
Join Date: Aug 2015
Location: Croatia
Posts: 563
Reputation: 62
Default Re: Count Down Timer Help!

Show these textdraw while player connect or spawn and remove while timer count is off
Scripter18 is offline   Reply With Quote
Old 21/03/2017, 07:05 PM   #13
Mencent
High-roller
 
Mencent's Avatar
 
Join Date: Mar 2015
Location: Lower Saxony (Niedersachsen)
Posts: 1,308
Reputation: 92
Default Re: Count Down Timer Help!

Hello!

You should create this textdraw as an player-textdraw because every player has a different countdown.
http://wiki.sa-mp.com/wiki/CreatePlayerTextDraw

You also should use SetTimerEx instead of SetTimer because this timer is for every player individually.

Your variable "CountDownTime" and "CountDownTimer" should create with an [MAX_PLAYERS] and use [playerid] in the code.

When you need help, then tell us that.
__________________
Best wishes,
Mencent

(Sorry for my bad english, I hope you can understand this!)
Mencent is online now   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get timer current count? GunZsmd Scripting Help 2 15/07/2016 12:50 PM
Count Down Timer DerickClark Scripting Help 17 22/08/2015 11:53 PM
Count Down Timer DerickClark Scripting Help 0 15/08/2015 03:55 PM
[help]Count Down Timer :D Desha1 Scripting Help 22 04/01/2015 03:55 PM
10 minute timer count down, then map changes? Elysian` Scripting Help 10 13/05/2012 08:59 PM


All times are GMT. The time now is 06:00 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.