03.09.2012, 19:02
Ok, what the hell is wrong with this?
If i type in game /open or close it saying Unknown command ...
. What to do?
Код:
//On top of the script new impaund; //OnGameModeInit impaund = CreateObject(980, 1620.66, -1862.22, 15.33, 0.00, 0.00, 180.00); //OnPlayerCommandText if(!strcmp(cmdtext, "/open", true)) { if(IsPlayerInRangeOfPoint(playerid, 15.0, 0, 0, 0)) { MoveObject(impaund, 0, 0, 0, 3.0); return 1; } } else if(strcmp(cmdtext, "/close", true)) { if(IsPlayerInRangeOfPoint(playerid, 15.0, 0, 0, 0)) { MoveObject(impaund, 1620.66, -1862.22, 15.33, 3.0); return 1; } } return 1; } return 0; }
![Sad](images/smilies/sad.gif)