27.06.2016, 20:34
Hello, I'm fixing/add some new things to the tutorial but when I add this:
It looks like :
my pawno crashes how can I add that so my pawno will compile without errors ?
Код:
for(new t = 0; t < 11; t++) { TextDrawShowForPlayer(playerid, TutTxtDraw[t]); } TutorialProgress[playerid] = 1; SetTimerEx("TutorialProgression", 14500, 0, "d", playerid); }
Код:
else { format(string, sizeof(string), "Nobody"); strmid(PlayerInfo[playerid][pReferredBy], string, 0, strlen(string), MAX_PLAYER_NAME); SendClientMessageEx(playerid, COLOR_LIGHTRED, "Thanks for filling in all the information, now you can proceed to the tutorial!"); RegistrationStep[playerid] = 3; SetPlayerVirtualWorld(playerid, 0); ClearChatbox(playerid); ShowTutGUIBox(playerid); ShowTutGUIFrame(playerid, 1); TutStep[playerid] = 1; for(new t = 0; t < 11; t++) { TextDrawShowForPlayer(playerid, TutTxtDraw[t]); } TutorialProgress[playerid] = 1; SetTimerEx("TutorialProgression", 14500, 0, "d", playerid); } //TextDrawShowForPlayer(playerid, txtNationSelHelper); //TextDrawShowForPlayer(playerid, txtNationSelMain); //PlayerNationSelection[playerid] = -1; // Streamer_UpdateEx(playerid, 1607.0160,-1510.8218,207.4438); // SetPlayerPos(playerid, 1607.0160,-1510.8218,-10.0); // SetPlayerCameraPos(playerid, 1850.1813,-1765.7552,81.9271); // SetPlayerCameraLookAt(playerid, 1607.0160,-1510.8218,207.4438); SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 0); Streamer_UpdateEx(playerid,1319.4899, 228.6382, 19.5547); SetPlayerPos(playerid,1319.4899, 228.6382, 19.5547); SetPlayerFacingAngle(playerid, 336.1479); TogglePlayerSpectating(playerid, 1); InterpolateCameraPos(playerid, 1096.835693, 428.082794, 48.468730, 1425.695922, 94.670745, 65.867767, 25000); InterpolateCameraLookAt(playerid, 1101.151000, 425.830383, 47.326560, 1424.072631, 99.209724, 64.540138, 25000); } } }