Szerző Téma: LARP mode-ból Tutoiral kivágása  (Megtekintve 1794 alkalommal)

LARP mode-ból Tutoiral kivágása
« Dátum: 2010. Március 12. - 12:57:29 »
0 Show voters
Hi, LARP mode-ból szeretném kivágni a bemutató videót.
 
         if(TutTime >= 1)
   {
       TutTime += 1;
                if(TutTime == 3)
       {
           ClearChatbox(i, 10);
           SetPlayerCameraPos(i, 2247.0215,-1655.0173,17.2856);
         SetPlayerCameraLookAt(i, 2244.6536,-1663.9304,15.4766);
         SetPlayerInterior(i, 0);
         SetPlayerVirtualWorld(i, 0);
         SetPlayerPos(i, 2256.3555,-1646.6377,-5.00);
           SendClientMessage(i, COLOR_GREEN, \"~ CLOTHES SHOP ~\");
           SendClientMessage(i, COLOR_WHITE, \" \");
           SendClientMessage(i, COLOR_WHITE, \"First of all you\'ll need some clothes, you can buy them at any clothes shop.\");
           SendClientMessage(i, COLOR_WHITE, \"When you\'re in the shop type /clothes and then type next untill you find the clothes that you like.\");
           ClearChatbox(i, 2);
       }
       else if(TutTime == 16)
       {
           ClearChatbox(i, 10);
           SetPlayerPos(i, 2089.6624,-1901.7891,-5.00);
           SetPlayerCameraPos(i, 2070.8093,-1914.6747,18.5469);
         SetPlayerCameraLookAt(i, 2055.2405,-1906.4608,13.5469);
         SetPlayerInterior(i, 0);
           SendClientMessage(i, COLOR_GREEN, \"~ LICENSES CENTER ~\");
           SendClientMessage(i, COLOR_WHITE, \" \");
           SendClientMessage(i, COLOR_WHITE, \"You still have no driving/flying/sailing licenses? Shame on you!\");
           SendClientMessage(i, COLOR_WHITE, \"You must first buy any of a kind licenses to get a license.\");
           SendClientMessage(i, COLOR_WHITE, \"You can see the list of buyable licenses by just typing /buylic.\");
           ClearChatbox(i, 2);
       }
       else if(TutTime == 25)
       {
           ClearChatbox(i, 10);
           SetPlayerPos(i, 1514.3059,-1667.8116,-5.00);
           SetPlayerCameraPos(i, 1535.9584,-1676.1428,18.3828);
         SetPlayerCameraLookAt(i, 1553.7861,-1676.4270,16.1953);
         SetPlayerInterior(i, 0);
           SendClientMessage(i, COLOR_GREEN, \"~ POLICE DEPARTMENT ~\");
           SendClientMessage(i, COLOR_WHITE, \" \");
           SendClientMessage(i, COLOR_WHITE, \"The Los Santos Police Department and FBI are in the city for your protection.\");
           SendClientMessage(i, COLOR_WHITE, \"People who commit crimes will dealt with swiftly and with force if necessary.\");
           SendClientMessage(i, COLOR_WHITE, \"To call a police officer, call the emergency hotline using /call 911.\");
           ClearChatbox(i, 2);
       }
       else if(TutTime == 35)
       {
           ClearChatbox(i, 10);
           SetPlayerPos(i, 1221.7010,-1328.6449,-5.00);
           SetPlayerCameraPos(i, 1204.3781,-1313.3323,16.3984);
         SetPlayerCameraLookAt(i, 1174.7167,-1323.4485,14.5938);
         SetPlayerInterior(i, 0);
           SendClientMessage(i, COLOR_GREEN, \"~ ALL SAINTS GENERAL HOSPITAL ~\");
           SendClientMessage(i, COLOR_WHITE, \" \");
           SendClientMessage(i, COLOR_WHITE, \"Feeling sick? You need to see the doctor of Los Santos.\");
           SendClientMessage(i, COLOR_WHITE, \"To call a paramedic, call the emergency hotline using /call 911\");
           SendClientMessage(i, COLOR_WHITE, \"You\'ll spawn here after death\");
           ClearChatbox(i, 2);
       }
       else if(TutTime == 45)
       {
           ClearChatbox(i, 10);
           SetPlayerPos(i, 1786.1758,-1258.4976,-5.00);
           SetPlayerCameraPos(i, 1779.4259,-1275.1025,15.6328);
         SetPlayerCameraLookAt(i, 1785.7263,-1296.0200,13.4213);
         SetPlayerInterior(i, 0);
           SendClientMessage(i, COLOR_GREEN, \"~ ABC STUDIO ~\");
           SendClientMessage(i, COLOR_WHITE, \" \");
           SendClientMessage(i, COLOR_WHITE, \"Got some fresh news to announce? Go to the ABC Studio reporters and ask them to do it.\");
           SendClientMessage(i, COLOR_WHITE, \"You can also post your advertisment at local newspaper.\");
           ClearChatbox(i, 2);
       }
       else if(TutTime == 53)
       {
           ClearChatbox(i, 10);
           SetPlayerPos(i, 1475.7020,-1050.9489,-5.00);
           SetPlayerCameraPos(i, 1458.3872,-1042.2423,24.8281);
         SetPlayerCameraLookAt(i, 1458.5930,-1019.9205,24.5264);
         SetPlayerInterior(i, 0);
           SendClientMessage(i, COLOR_GREEN, \"~ BANK OF THE STATE ~\");
           SendClientMessage(i, COLOR_WHITE, \" \");
           SendClientMessage(i, COLOR_WHITE, \"You won\'t keep all your money in your pocket, someone will try to steal it.\");
           SendClientMessage(i, COLOR_WHITE, \"You can /deposit, or /withdraw your money at the bank.\");
           SendClientMessage(i, COLOR_WHITE, \"You\'ll get you payday at your bank account too.\");
           ClearChatbox(i, 2);
       }
       else if(TutTime == 63)
       {
           ClearChatbox(i, 10);
           SetPlayerInterior(i, 3);
           SetPlayerPos(i, 330.6825,163.6688,1014.1875);
           SetCameraBehindPlayer(i);
           SetPlayerVirtualWorld(i, 0);
           SendClientMessage(i, COLOR_GREEN, \"~ END OF TUTORIAL ~\");
           SendClientMessage(i, COLOR_WHITE, \" \");
           SendClientMessage(i, COLOR_WHITE, \"There are a lot of places in Los Santos, but you need to discover them on your own.\");
           SendClientMessage(i, COLOR_WHITE, \"Don\'t forget Role-Play rules, because non-rping causes warns and bans!\");
           SendClientMessage(i, COLOR_WHITE, \"  - Enjoy, GTA:RP Admin Team.\");
           ClearChatbox(i, 2);
       }
       else if(TutTime == 73)
       {
           ClearChatbox(i, 10);
           SendClientMessage(i, COLOR_YELLOW2, \"Welcome to the Los Santos.\");
           SendClientMessage(i, COLOR_GRAD1, \"To call a taxi use call 444\");
           SendClientMessage(i, COLOR_GRAD1, \"To change your outfit you have to go to clothes shop\");
         SendClientMessage(i, COLOR_GRAD1, \" \");
         TextDrawHideForPlayer(i,lbt);
         TextDrawHideForPlayer(i,lbb);
           TutTime = 0; PlayerInfo[pTut] = 1;
         gOoc = 0; gNews = 0; gFam = 0;
         TogglePlayerControllable(i, 1);
         MedicBill = 0;
         AfterTutorial = 1;
         SetTimerEx(\"UnsetAfterTutorial\", 2500, false, \"i\", i);
         SetTimerEx(\"UnsetFirstSpawn\", 5000, false, \"i\", i);
         SetPlayerSpawn(i);
       }
   }
   if(PlayerTazeTime >= 1)
   {
       PlayerTazeTime += 1;
       if(PlayerTazeTime == 15)
       {
                    PlayerTazeTime = 0;
       }
       else
       {
           new Float:angle;
         GetPlayerFacingAngle(i, angle);
         SetPlayerFacingAngle(i, angle + 90);
       }
   }

 
Itt az a rész,de ha ezt magában csak úgy ki szedem, akkor hibát jelez a fordító.
Elore is kösz!
« Utoljára szerkesztve: 2010. Március 12. - 13:22:26 írta Criminal »

Nem elérhető ALIEN

  • 1163
    • Profil megtekintése
LARP mode-ból Tutoiral kivágása
« Válasz #1 Dátum: 2010. Március 12. - 20:30:42 »
0 Show voters
Rakd oda ahova kell. Mi alól szedted ki?

Nem elérhető Linda

LARP mode-ból Tutoiral kivágása
« Válasz #2 Dátum: 2010. Március 13. - 00:44:20 »
0 Show voters
Ha kiakarod szedni akk ezt tedd be:
 
 if(TutTime >= 1)
   {
       TutTime += 1;
               if(TutTime == 3)
       {
           ClearChatbox(i, 10);
            SendClientMessage(i, COLOR_LIGHTGREEN, \"===================================================================.\");
           SendClientMessage(i, COLOR_WHITE, \"     Köszönjük, hogy regisztráltál a szerverünkre,jó játékot..\");
           SendClientMessage(i, COLOR_LIGHTGREEN, \"===================================================================.\");
         SetPlayerPos(i, 2256.3555,-1646.6377,15.4959);
           TutTime = 0; PlayerInfo[pTut] = 1;
         gOoc = 0; gNews = 0; gFam = 0;
         TogglePlayerControllable(i, 1);
         MedicBill = 0;
         AfterTutorial = 1;
         SetTimerEx(\"UnsetAfterTutorial\", 2500, false, \"i\", i);
         SetTimerEx(\"UnsetFirstSpawn\", 5000, false, \"i\", i);
         SetPlayerSpawn(i);
           }
       }
   }  

 
Én is így vágtam ki a tutorialt a módomból...
A színeket meg írd át ha nked nincsenek
« Utoljára szerkesztve: 2010. Március 14. - 09:40:08 írta Linda »

LARP mode-ból Tutoiral kivágása
« Válasz #3 Dátum: 2010. Március 14. - 18:20:50 »
0 Show voters
Köszi, Linda.  :)
Már csak az a problémám, hogy a képet regisztrálásnál így összetollja és két fekete csík van alul, s felül.
Hogy lehet azt megoldani, hogy amikor letette a SPAWN-helyre, akkor rögtön rendes képernyot mutasson :question:

Nem elérhető SnicK

  • 7521
    • Profil megtekintése
LARP mode-ból Tutoiral kivágása
« Válasz #4 Dátum: 2010. Március 14. - 22:33:30 »
0 Show voters
Linda megoldására kidob egy errort nekem:
 

C:\\Documents and Settings\\Snickers\\Asztal\\LS-RP\\gamemodes\\larp.pwn(8993) : error 054: unmatched closing brace (\"}\")
Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase

LARP mode-ból Tutoiral kivágása
« Válasz #5 Dátum: 2010. Március 15. - 09:59:11 »
0 Show voters
Nekem is ki dobott. Töröld ki abban a sorban a \" } \" jelet és tökéletesen menni fog.

Nem elérhető Linda

LARP mode-ból Tutoiral kivágása
« Válasz #6 Dátum: 2010. Március 28. - 04:57:00 »
0 Show voters
A fekete textdrawot úgy tudod kiszedni hogy:
Keresel a módba olyat h: TextdrawShowForPlayer végig nézed és amlyiker megtalálod a regisztrációnál azt töröld ki!
megmondanám h mit de nincs meg a mód szal fejbol nem megy xD ha nem sikerül irj

LARP mode-ból Tutoiral kivágása
« Válasz #7 Dátum: 2010. Április 05. - 22:09:41 »
0 Show voters
Már felejtos :)  :heart:.

Nem elérhető krisk

  • 2380
    • Profil megtekintése
LARP mode-ból Tutoiral kivágása
« Válasz #8 Dátum: 2010. Április 10. - 11:50:23 »
0 Show voters
Nem kell kivágni, egyszeruen dudb-bal megoldod hogy a tutorialt átállítja 1-re a szükséges adatok beírása után, majd kickeli h relogoljon, ez ilyen mekk-elek megoldás, de a semminél jobb xD

LARP mode-ból Tutoiral kivágása
« Válasz #9 Dátum: 2010. Április 14. - 19:25:02 »
0 Show voters
Ha ennyire értenék ehez, nem kérek segítséget.

Nem elérhető Csabesz

  • 7827
    • Profil megtekintése
LARP mode-ból Tutoiral kivágása
« Válasz #10 Dátum: 2010. Április 14. - 21:05:37 »
0 Show voters
A 2 fekete TextDraw eltüntetése.:
 

TextDrawShowForPlayer(playerid,lbt);
TextDrawShowForPlayer(playerid,lbb);

 
Ezt a két kódot, az OnPlayerConnect függvény alól töröld ki.
Ha nem találod keress rá! Ctrl+F
Épp most nézegettem a módot..  :)

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal