04.06.2009, 17:19
Here's something i use...
Brackets are the key.
Код:
if (strcmp(cmd, "/enter", true) == 0) { if (PlayerToPoint(playerid, 5.0, 2498.3540, -1644.1443, 13.7826)) // GroveHouse1 { SetPlayerInterior(playerid, 1); SetPlayerPos(playerid, 223.043991, 1289.259888, 1082.199951); } if (PlayerToPoint(playerid, 5.0, 3623.3540, -0644.1443, 11.7826)) // GroveHouse2 { SetPlayerInterior(playerid, 1); SetPlayerPos(playerid, 223.043991, 1289.259888, 1082.199951); } return 1; }