Help me !
#1

Код:
format(stringa, sizeof(stringa), "%d Race is starting in %s Seconds.Type /JoinRace To Join.", RaceName, CountAmount);
			TextDrawSetString(Textdraw0, stringa);
			TextDrawShowForAll(Textdraw0);
			SetTimer("texthidea",%d,false", CountAmount);
I am trying to settimer runs on countamount as it changes the textdraw shown time should also change anyone help when i compile it shows me this error

Код:
C:\Users\Baa\Desktop\rRace.pwn(389) : warning 217: loose indentation
C:\Users\Baa\Desktop\rRace.pwn(1030) : error 029: invalid expression, assumed zero
C:\Users\Baa\Desktop\rRace.pwn(1030) : error 017: undefined symbol "d"
C:\Users\Baa\Desktop\rRace.pwn(1030) : warning 215: expression has no effect
C:\Users\Baa\Desktop\rRace.pwn(1030) : warning 215: expression has no effect
C:\Users\Baa\Desktop\rRace.pwn(1030) : error 001: expected token: ";", but found ")"
C:\Users\Baa\Desktop\rRace.pwn(1030) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase
Please Help Fast !
Reply
#2

Replace
pawn Код:
SetTimer("texthidea",%d,false", CountAmount);
with
pawn Код:
SetTimer("texthidea", CountAmount, false);
Reply
#3

Edit:Late
Reply
#4

@Kar when i replaced it and compiled it showed me this warning

Код:
C:\Users\Baa\Desktop\rRace.pwn(1030) : warning 202: number of arguments does not match definition
Reply
#5

Thnx kar rep+ !
Reply
#6

pawn Код:
SetTimer("texthidea", CountAmount, false);
or
pawn Код:
SetTimerEx("texthidea", CountAmount, false, "d", playerid);
Reply
#7

Thnx but its already fixed
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)