#1

Hi, so this is the code to start a timer:

pawn Код:
SetTimer("message",1000,false);
But what if my public message() contains parameters like: message(playerid). Then
pawn Код:
SetTimer("message(playerid)",1000,false);
will not work!

How to fix this?
Reply
#2

https://sampwiki.blast.hk/wiki/SetTimerEx
Reply
#3

pawn Код:
SetTimerEx( "message",1000,false, "i", playerid );
pawn Код:
public message( playerid )
Reply
#4

Yes, thank you that worked!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)