13.07.2013, 09:35
Yeah, so this little command crashes my server for some reason. Since you guys are so good at helping, i figured i'd come here after my 2billionth attempt, what's crashing it exactly? i've done everything right here so far :S
pawn Код:
dcmd_dx(playerid, cmdtext[]) {
#pragma unused cmdtext
if(IsPlayerInRangeOfPoint(playerid, 16, 1144.68, -1274.82, 12.63))
{
if(dxgatestate == 0)
{
MoveObject(dxgate, 1135.52, -1274.40, 12.63);
dxgatestate = 1;
}
else if(dxgatestate == 1)
{
MoveObject(dxgate, 1144.68, -1274.82, 12.63);
dxgatestate = 0;
}
}
return 1;
}