Tag Mismatch
#1

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);
Reply
#2

this error caused for use... eg. set in a integer variable a bolean value... so on
Reply
#3

pawn Код:
PlayerData[playerid][pTutorialObject] = CreateDynamicObject(1543, -226.4219, 1408.4594, 26.7734, 0.0, 0.0, 0.0)
playerid no is a valid argument.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)