22.07.2013, 00:02
(
Последний раз редактировалось ZeroTheScyther; 22.07.2013 в 19:42.
)
Ok I feel really stupid for asking this but could someone tell me what's wrong with this script?
Everything works fine while I'm on foot but as soon as I get in car the script stops working. Is the range too small or what? (Sorry for wasting your time but I'm really tired and I want to finish this today)
Also can someone give me an example of how to make a heal command? Something like /heal [id] gives health to the player (Sorry again for wasting your time)
Everything works fine while I'm on foot but as soon as I get in car the script stops working. Is the range too small or what? (Sorry for wasting your time but I'm really tired and I want to finish this today)
pawn Код:
if ((oldkeys & KEY_CTRL_BACK) && !(newkeys & KEY_CTRL_BACK))
{
if(IsPlayerInRangeOfPoint(playerid, 5.0,-76.5506,-353.0117,1.4297))
{
if(gTeam[playerid] == 6)
{
MoveObject(hgate,-74.55550,-352.80170,-2.35262,5,0.00000,0.00000,90.00000);
SetTimer("hgateClose",5000,false);
}
return 1;
}
}