16.11.2014, 22:41
The error occurs at this line " PlayerData[playerid][pTutorialObject] = CreateDynamicObject(playerid, 1543, -226.4219, 1408.4594, 26.7734, 0.0, 0.0, 0.0);"
Код:
else if (playertextid == PlayerData[playerid][pTextdraws][33]) { for (new i = 23; i < 34; i ++) { PlayerTextDrawHide(playerid, PlayerData[playerid][pTextdraws][i]); } for (new i = 0; i < 100; i ++) { SendClientMessage(playerid, -1, ""); } CancelSelectTextDraw(playerid); TogglePlayerControllable(playerid, 1); PlayerData[playerid][pTutorialStage] = 1; PlayerData[playerid][pTutorialObject] = CreateDynamicObject(playerid, 1543, -226.4219, 1408.4594, 26.7734, 0.0, 0.0, 0.0); SetPlayerCheckpoint(playerid, -226.4219, 1408.4594, 27.7734, 0.5); SendClientMessage(playerid, COLOR_SERVER, "Please make your way towards the item and crouch (pressing 'C')."); SetPlayerPos(playerid, -226.2436, 1400.4767, 27.7656); SetPlayerFacingAngle(playerid, 0.0000);