gm change error
#1

i get error 021: symbol already defined: "SetTimer"

from SetTimer ( " NewMode " ,10, false ) ;




H E L P M E
Reply
#2

show your code the position you put it

+

10 is only 1 second i think

check here

https://sampwiki.blast.hk/wiki/SetTimer

and to find milliseconds
go on ****** type the min you want example

10 min in milliseconds it will tell you.
Reply
#3

it is because you defined it 2 times... post the error lines....
Reply
#4

Quote:
Originally Posted by ricardo178
Посмотреть сообщение
it is because you defined it 2 times... post the error lines....
no need to define settimer its already defined in a_samp.inc i think

he might have another include defined settimer.
Reply
#5

CODE= SetTimer ( " NewMode " ,10, false ) ; and i put it at the very bottom
Reply
#6

I told you in the last thread put it in

pawn Код:
public OnGameModeInit()
{
     return 1;
}
Reply
#7

also replace

pawn Код:
SetTimer ( " NewMode " ,10, false ) ;
with

pawn Код:
SetTimer ( " NewMode " ,60000 * 10, false ) ;
Reply
#8

10 is one-one hundredth of a second.
Reply
#9

Exactly thats why i multiplied 60000 and 10 to make it 10 minutes..

Argh hope i got it right
Reply
#10

Quote:
Originally Posted by Kitten
Посмотреть сообщение
show your code the position you put it

+

10 is only 1 second i think

check here

https://sampwiki.blast.hk/wiki/SetTimer

and to find milliseconds
go on ****** type the min you want example

10 min in milliseconds it will tell you.
Meant to quote him on that.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)