SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 16/02/2013, 05:12 AM   #11
Dex007HLH
Big Clucker
 
Dex007HLH's Avatar
 
Join Date: Nov 2010
Location: Somewhere infront of a computer.
Posts: 121
Reputation: 2
Default Respuesta: Re: Countdown TextDraw bugged.

Quote:
Originally Posted by Rajat_Pawar View Post
You are telling the compiler that a function called 'Gametime' should be executed every second. But to show it to a player, there needs to be a 'playerid' parameter. So:
Instead of "SetTimer("GameTime", 1000, 1) under OnGameModeInIt,
replace it with:
But "playerid" doesn't work on "ongamemodeinit"
it makes no sense
__________________
This signature was made in 5.706 seconds
Dex007HLH is offline   Reply With Quote
Old 16/02/2013, 05:16 AM   #12
RajatPawar
High-roller
 
RajatPawar's Avatar
 
Join Date: Aug 2011
Location: ヽ༼ຈل͜ຈ༽ノ
Posts: 2,177
Reputation: 320
Default Re: Countdown TextDraw bugged.

You are SETTING THE TIMER IN ONGAMEMODEINIT, you aren't doing something with playerid IN ONGAMEMODEINIT.
http://wiki.sa-mp.com/wiki/SetTimerEx
RajatPawar is offline   Reply With Quote
Old 16/02/2013, 06:22 AM   #13
Dex007HLH
Big Clucker
 
Dex007HLH's Avatar
 
Join Date: Nov 2010
Location: Somewhere infront of a computer.
Posts: 121
Reputation: 2
Default Respuesta: Countdown TextDraw bugged.

problem solved, i had to do a lot of shit to fix it, but I finally did it!
ty guys
__________________
This signature was made in 5.706 seconds
Dex007HLH 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
Textdraw Countdown KingyKings Scripting Help 2 02/12/2012 05:25 PM
Countdown textdraw newbienoob Scripting Help 3 05/07/2012 09:27 PM
Countdown in textdraw Face9000 Help Archive 1 05/06/2011 08:05 PM
COuntDown Textdraw DragonBlaster50 Help Archive 10 27/07/2010 04:38 PM
60 Second Textdraw countdown. [mad]MLK Help Archive 1 14/08/2009 09:22 AM


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


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