SA-MP Forums Archive
[HELP] Getting Time - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP] Getting Time (/showthread.php?tid=72944)



[HELP] Getting Time - Henry11200 - 11.04.2009

Ok, so my code is
pawn Код:
public SmugN(playerid)
{

new hour,minuite,second;
gettime(hour,minuite,second);

if(IsPlayerConnected(playerid))
{
if(minuite == 0 || minuite == 15 || minuite == 30 || minuite == 45)
{
 allvee = CreateObject(9958, 1602.750854, 571.456970, 4.561812, 0.000000, 0.000000, 88.000000);
 osta = CreatePickup(1279, 2, 1629.0907,576.5907,1.7578);
 SetTimer("NarkoL", 30000, true);
}
}
else
{
SendClientMessage(playerid, COLOR_RED, "Please login first.");
}
return 1;
}
But it aint creating object and pickup.
And there aint any errors.
Sorry for bad english.


Re: [HELP] Getting Time - Henry11200 - 11.04.2009

i think there's some return missing but don't know where...


Re: [HELP] Getting Time - Henry11200 - 12.04.2009

Added returns but still nothing.