06.07.2010, 08:46
i make this code
public provazone(playerid)
{
new Float:X,Float:Y,Float:Z;
GetPlayerPos(playerid, X, Y, Z);
if(X >= 1331.278 && X <= 2207.118 && Y >= -2755.979 && Y <= -2125.373)
{
SendClientMessage(playerid,COLOR_RED,"sei nella stunt zone");
print("stunt zone!");
}
return 1;
}
and this code show a SendClientMessage(playerid,COLOR_RED,"sei nella stunt zone"); when u are in stunt zone but it show every one second XD how to show this 1 times ? with the timer to 1 sec
public provazone(playerid)
{
new Float:X,Float:Y,Float:Z;
GetPlayerPos(playerid, X, Y, Z);
if(X >= 1331.278 && X <= 2207.118 && Y >= -2755.979 && Y <= -2125.373)
{
SendClientMessage(playerid,COLOR_RED,"sei nella stunt zone");
print("stunt zone!");
}
return 1;
}
and this code show a SendClientMessage(playerid,COLOR_RED,"sei nella stunt zone"); when u are in stunt zone but it show every one second XD how to show this 1 times ? with the timer to 1 sec