SetTimerEx Problem
#1

PHP код:
forward StuffON(playerid);
forward StuffOFF(playerid); 
under onplayerconnect

PHP код:
StuffON(playerid); 
onplayerconnect ended


at the end

PHP код:
public StuffON(playerid)
{
    
SetTimerEx("StuffOFF(playerid)",2000,0"e"playerid);
    print(
"Starting (1)...");
}
public 
StuffOFF(playerid)
{
    print(
"Starting (2)...");

"nd doesent't starts, how can i fix it?
Reply
#2

Remove (playerid) in SetTimerEx
Reply
#3

pawn Код:
public StuffON(playerid)
{
    SetTimerEx("StuffOFF",2000,0, "i", playerid);
    print("Starting (1)...");
}
Reply
#4

What's "e" for?

pawn Код:
public StuffON(playerid)
{
    SetTimerEx("StuffOFF",2000,0, "d", playerid);
    print("Starting (1)...");
}

public StuffOFF(playerid)
{
    print("Starting (2)...");
}
EDIT: You gay Lethal
Reply
#5

thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)