[HELP] Getting Time
#1

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.
Reply
#2

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

Added returns but still nothing.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)