SA-MP Forums Archive
Question about script - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Question about script (/showthread.php?tid=557241)



Question about script - bigboy81 - 13.01.2015

My script doesn't have warnings or erors.But when i start server,when i connect i can't login i can't type password
i cant nothing,and i must via task manager go out.

Last thing what i do is about time stamp.
I think i set time stamp go in future i don't know but i cant nothing on my server,what to do ?


Re: Question about script - CalvinC - 13.01.2015

It might help removing filterscripts, if you have any.
Otherwise, show us the script this is happening with.


Re: Question about script - bigboy81 - 13.01.2015

Quote:
Originally Posted by CalvinC
Посмотреть сообщение
It might help removing filterscripts, if you have any.
Otherwise, show us the script this is happening with.
I don't have filterscript installed,which code i need to show ?


Re: Question about script - CalvinC - 13.01.2015

The code that isn't working.


Re: Question about script - bigboy81 - 13.01.2015

i don't know in which place in script was a problem.
I don't remember what i last making in my script,because im bored..
Last thing what i acctualy do is typed command /aktivnost
and notthing happen then i delete that command and i cannot join..

here is the command

new jTime[MAX_PLAYERS]; //
CMD:aktivnost(playerid,params[])
{
new timestamp = gettime();
if(timestamp > jTime[playerid])
{
jTime[playerid] = gettime()+60*2;
printf(" Typed /aktivnost. gettime stored in jTime ");
}
else
{
new hoursleft = (jTime[playerid]-timestamp)/120;
printf("Current time: %i | 60 sec added: %i | Hours left for you to type this command again %i.",timestamp,jTime[playerid],hoursleft);
}
}