25.06.2012, 19:34
Hello! My beginner traveling in scripts continues, and this time I have problem:
warning 217: loose indentation
error 001: expected token: ";", but found "-identifier-"
warning 217: loose indentation
warning 217: loose indentation
Help me? :P
warning 217: loose indentation
error 001: expected token: ";", but found "-identifier-"
warning 217: loose indentation
warning 217: loose indentation
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/enter", cmdtext, true, 10) == 0) { if (IsPlayerInRangeOfPoint(playerid, 3.0, 1352.1962,-1756.9938,13.5078)) SetPlayerPos(playerid, -25.7000,-90.1999,1004.2999); (IsPlayerInRangeOfPoint(playerid, 3.0, 1778.0828,-1664.6692,14.4355)) SetPlayerPos(playerid, 493.4503,-21.9830,1000.6797); // Do something here