25.06.2012, 17:27
Oh sorry.
Change
to
Change
pawn Code:
public OnPlayerCommandPerformed(playerid, cmdtext[], success){
if(success){
lastcommand[playerid]=gettime();
//sets the variable to the current UNIX timestamp- see below for details
}
}
pawn Code:
public OnPlayerCommandPerformed(playerid, cmdtext[], success){
if(success){
lastcommand[playerid]=gettime();
//sets the variable to the current UNIX timestamp- see below for details
}
return 1;//Forgot this!
}