15.12.2010, 18:38
Hi all i'm trying it so when if(IsPlayerInRangeOfPoint(i,177.4720,1894.8317,114 9.6217))
It freezes them for 3 seconds after that 3 seconds it unfreezes them... What am I doing wronge and what do I have to do to make this work ?
It freezes them for 3 seconds after that 3 seconds it unfreezes them... What am I doing wronge and what do I have to do to make this work ?
Код:
forward IsAtDeMorgan()
Код:
public IsAtDeMorgan() { for(new i=0; i<MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(IsPlayerInRangeOfPoint(i,177.4720,1894.8317,1149.6217)) { GameTextForPlayer(i, "~g~ Loading Objects...", 5000, 6); PlayerPlaySound(i, 1145, 0.0, 0.0, 0.0); SendClientMessage(i,COLOR_GREY, " Welcome to Fort DeMorgan"); TogglePlayerControllable(i, 0); SetTimer("IsAtDeMorgan",2000,false); return 1; } } } }