SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 21/03/2017, 08:05 PM   #11
AndySedeyn
High-roller
 
AndySedeyn's Avatar
 
Join Date: Feb 2014
Location: Belgium
Posts: 1,339
Reputation: 681
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 offline   Reply With Quote
Old 21/03/2017, 08:05 PM   #12
Bolex_
Gangsta
 
Bolex_'s Avatar
 
Join Date: Aug 2015
Location: Croatia
Posts: 558
Reputation: 98
Default Re: Count Down Timer Help!

Show these textdraw while player connect or spawn and remove while timer count is off
__________________
Bolex_ is offline   Reply With Quote
Old 21/03/2017, 08:05 PM   #13
Mencent
High-roller
 
Mencent's Avatar
 
Join Date: Mar 2015
Location: Lower Saxony (Niedersachsen)
Posts: 1,296
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 offline   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 01:50 PM
Count Down Timer DerickClark Scripting Help 17 23/08/2015 12:53 AM
Count Down Timer DerickClark Scripting Help 0 15/08/2015 04:55 PM
[help]Count Down Timer :D Desha1 Scripting Help 22 04/01/2015 04:55 PM
10 minute timer count down, then map changes? Elysian` Scripting Help 10 13/05/2012 09:59 PM


All times are GMT. The time now is 05:28 PM.


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