25.06.2009, 16:54
is thiere a function like isnotinbox ? plz tell me
if(!IsPlayerInBox(..
//up
forward Sumo(playerid);
//in tele
SetTimer("Sumo",1000,1);
//down
public Sumo(playerid)
{
if(!IsPlayerInBox(playerid,-391.9988,-476.2663,2553.0342,2461.8596,120.8335,160.8335)){
SendClientMessage(playerid,ORANGE,"test");
}
Originally Posted by Serediucr
ok thx now i tried it but if i'm in box , or not , every 1 sec is give me test message!
|
Originally Posted by Don Correlli
Quote:
|
Originally Posted by Serediucr
Quote:
|
Originally Posted by Serediucr
ok thx now i tried it but if i'm in box , or not , every 1 sec is give me test message!
pawn Код:
|
//up
forward Sumo(playerid);
//in tele
SetTimer("Sumo",1000,1);
//down
public Sumo(playerid)
{
if(!IsPlayerInBox(playerid,-391.9988,-476.2663,2553.0342,2461.8596,120.8335,160.8335))
{
SendClientMessage(playerid,ORANGE,"test");
}
}