08.04.2009, 23:01
Hello,
I want to open Casino 1 Hour but whats wrong?
if(PlayerToPoint(20, i,2015.4500,1017.0900,996.8750))
{//Four Dragons
new Hour;
gettime(Hour);
if(Hour == 23) //Hour >= 2)
{
GameTextForPlayer(i, "~r~open", 5000, 1);/*open the casino*/
}
else if(Hour <= 0 && Hour > 23)
{ /*close the casino*/
SetPlayerPos(i,1022.599975,-1123.699951,23.799999);
GameTextForPlayer(i, "~r~close", 5000, 1);/*open the casino*/
}
}
I want to open Casino 1 Hour but whats wrong?
if(PlayerToPoint(20, i,2015.4500,1017.0900,996.8750))
{//Four Dragons
new Hour;
gettime(Hour);
if(Hour == 23) //Hour >= 2)
{
GameTextForPlayer(i, "~r~open", 5000, 1);/*open the casino*/
}
else if(Hour <= 0 && Hour > 23)
{ /*close the casino*/
SetPlayerPos(i,1022.599975,-1123.699951,23.799999);
GameTextForPlayer(i, "~r~close", 5000, 1);/*open the casino*/
}
}