Help me.
#5

Quote:
Originally Posted by Wreeper
Посмотреть сообщение
C:\Users\Wreeper\Desktop\sal\gamemodes\localhost.p wn(290) : error 010: invalid function or declaration
C:\Users\Wreeper\Desktop\sal\gamemodes\localhost.p wn(293) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.


}
if (strcmp("/adabani", cmdtext, true) == 0){
SetTimer("adabani", 10, 0);
}
return 1;
}
if (strcmp("/adaarma", cmdtext, true) == 0){
SetTimer("arma", 10, 0);
}
return 1;
}
You dont need to use timers , if you want you should use the correct parameters , here is an example:
PHP код:
forward message();
 
public 
OnGameModeInit()
{
    print(
"Starting timer...");
    
SetTimer("message"1000false); // Set a timer of 1000 miliseconds (1 second)
}
 
public 
message()
{
    print(
"1 second has passed.");
}
//Got from samp wiki 
Reply


Messages In This Thread
Help me. - by Wreeper - 07.08.2018, 12:05
Re: Help me. - by taktaz - 07.08.2018, 13:17
Re: Help me. - by Wreeper - 07.08.2018, 16:17
Re: Help me. - by RODELA - 07.08.2018, 16:34
Re: Help me. - by taktaz - 09.08.2018, 10:37

Forum Jump:


Users browsing this thread: 1 Guest(s)