SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 02/04/2012, 05:53 PM   #1
Dokins
Banned
 
Join Date: Jun 2010
Posts: 1,648
Reputation: 53
Default This returns the wrong timestamp.

pawn Code:
BanTime[giveplayerid]= gettime() + 3600 * hours1;

Why the hell is that? hours1 = the amount of hours.
Dokins is offline   Reply With Quote
Old 02/04/2012, 06:09 PM   #2
blank.
Big Clucker
 
Join Date: Mar 2012
Posts: 140
Reputation: 19
Default Re: This returns the wrong timestamp.

Try BanTime[giveplayerid] = (gettime() + 3600) * hours1;
blank. 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
inputtext[] returns wrong number lukas567 Scripting Help 1 01/03/2012 12:00 PM
This returns the Chat to clear. What's wrong? iGetty Scripting Help 8 14/12/2011 03:40 PM
Returns wrong Unknown123 Help Archive 2 24/06/2011 04:51 AM
Reading integer from file with Dini returns wrong or null value admantis Help Archive 4 10/06/2011 02:42 AM


All times are GMT. The time now is 02:55 PM.


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