SHOW:
|
|
- or go back to the newest paste.
| 1 | - | #include <a_samp> |
| 1 | + | //TUT |
| 2 | - | #include <ocmd> |
| 2 | + | |
| 3 | - | #include <dini> |
| 3 | + | |
| 4 | - | #include <Sscanf> |
| 4 | + | |
| 5 | - | #pragma tabsize 0 |
| 5 | + | |
| 6 | if(TutTime[playerid] == 1) | |
| 7 | - | #define BLAU 0x0000FFFF |
| 7 | + | |
| 8 | - | #define GELB 0xFFFF00FF |
| 8 | + | |
| 9 | - | #define weiß 0xFAFAFAFF |
| 9 | + | |
| 10 | - | #define grün 0xA8FF3CFF |
| 10 | + | |
| 11 | - | #define COLOR_GRAD1 0xB4B5B7FF |
| 11 | + | |
| 12 | - | #define COLOR_GRAD2 0xBFC0C2FF |
| 12 | + | |
| 13 | - | #define COLOR_GRAD3 0xCBCCCEFF |
| 13 | + | |
| 14 | - | #define COLOR_GRAD4 0xD8D8D8FF |
| 14 | + | |
| 15 | - | #define COLOR_GRAD5 0xE3E3E3FF |
| 15 | + | |
| 16 | - | #define COLOR_GRAD6 0xF0F0F0FF |
| 16 | + | |
| 17 | - | #define COLOR_GREY 0xAFAFAFAA |
| 17 | + | |
| 18 | - | #define COLOR_GREEN 0x33AA33AA |
| 18 | + | |
| 19 | - | #define COLOR_RED 0xAA3333AA |
| 19 | + | |
| 20 | - | #define COLOR_RED2 0xAA3333AA |
| 20 | + | |
| 21 | - | #define COLOR_LIGHTRED 0xFF6347AA |
| 21 | + | |
| 22 | - | #define COLOR_BLUE 0x33CCFFAA |
| 22 | + | |
| 23 | - | #define COLOR_LIGHTGREEN 0x9ACD32AA |
| 23 | + | |
| 24 | - | #define COLOR_YELLOW 0xFFFF00AA |
| 24 | + | |
| 25 | - | #define COLOR_YELLOW2 0xF5DEB3AA |
| 25 | + | |
| 26 | - | #define COLOR_WHITE 0xFFFFFFAA |
| 26 | + | |
| 27 | - | #define COLOR_FADE1 0xE6E6E6E6 |
| 27 | + | |
| 28 | - | #define COLOR_FADE2 0xC8C8C8C8 |
| 28 | + | |
| 29 | - | #define COLOR_FADE3 0xAAAAAAAA |
| 29 | + | |
| 30 | - | #define COLOR_FADE4 0x8C8C8C8C |
| 30 | + | |
| 31 | - | #define COLOR_FADE5 0x6E6E6E6E |
| 31 | + | |
| 32 | - | #define COLOR_PURPLE 0xC2A2DAAA |
| 32 | + | |
| 33 | - | #define COLOR_DBLUE 0x2641FEAA |
| 33 | + | |
| 34 | - | #define COLOR_ALLDEPT 0xFF8282AA |
| 34 | + | |
| 35 | - | #define COLOR_NEWS 0xFFA500AA |
| 35 | + | |
| 36 | - | #define COLOR_OOC 0xE0FFFFAA |
| 36 | + | |
| 37 | - | #define blau 0x005BFFFF |
| 37 | + | |
| 38 | - | #define ROT 0xFF0000FF |
| 38 | + | |
| 39 | - | //============================= |
| 39 | + | |
| 40 | - | #define C_SVR08 0x0080DFFF |
| 40 | + | |
| 41 | - | #define C_SVR07 0x1F80BFFF |
| 41 | + | |
| 42 | - | #define C_SVR06 0x3F809FFF |
| 42 | + | |
| 43 | - | #define C_AHC04 0xBF8040C8 |
| 43 | + | |
| 44 | SetPlayerCameraLookAt(playerid, 139.9303,-96.2412,1.3052); | |
| 45 | - | #define C_H1 0xFFCC00FF |
| 45 | + | |
| 46 | - | #define C_H2 0xFFD52BFF |
| 46 | + | |
| 47 | - | #define C_H3 0xFFDD55FF |
| 47 | + | |
| 48 | - | #define C_H4 0xFFE680FF |
| 48 | + | |
| 49 | - | #define C_H5 0xFFEEAAFF |
| 49 | + | |
| 50 | SendClientMessage(playerid,COLOR_GREEN," "); | |
| 51 | - | #define C_LL 0x000000E8 |
| 51 | + | |
| 52 | - | #define C_DL 0x000000FF |
| 52 | + | |
| 53 | - | #define C_W 0xFFFFFFAA |
| 53 | + | |
| 54 | - | #define C_R 0xAA3333FF |
| 54 | + | |
| 55 | - | #define C_O 0xFF830022 |
| 55 | + | |
| 56 | - | #define C_Y 0xFFFF00FF |
| 56 | + | |
| 57 | - | #define C_G 0x33AA33FF |
| 57 | + | |
| 58 | - | #define C_LG 0x00D90000 |
| 58 | + | |
| 59 | - | #define C_B 0x8D8DFFFF |
| 59 | + | |
| 60 | - | #define C_DB 0x2641FE00 |
| 60 | + | |
| 61 | - | #define C_P 0xC2A2DAFF |
| 61 | + | |
| 62 | - | //============================= |
| 62 | + | |
| 63 | SendClientMessage(playerid,COLOR_GREEN," "); | |
| 64 | - | #define DIALOG_TUTORIAL 1 |
| 64 | + | |
| 65 | - | #define DIALOG_REGISTER 2 |
| 65 | + | |
| 66 | - | #define DIALOG_LOGIN 3 |
| 66 | + | |
| 67 | - | #define DIALOG_REG 4 |
| 67 | + | |
| 68 | SendClientMessage(playerid,COLOR_GREEN,"Fahrzeuge und Unterhalte"); | |
| 69 | - | #define MAX_ALLOWED_CHARS 98 |
| 69 | + | |
| 70 | - | //===========Fraktionen============== |
| 70 | + | |
| 71 | - | #define LSPD |
| 71 | + | |
| 72 | - | #define Army |
| 72 | + | |
| 73 | - | #define FBI |
| 73 | + | |
| 74 | - | //===========Fraktionen=============== |
| 74 | + | |
| 75 | - | IsStringAName(string[]);GetPlayerID(string[]); |
| 75 | + | |
| 76 | - | Incorrect(playerid);wrong(playerid);SetPlayerWeapons(playerid); |
| 76 | + | |
| 77 | SetPlayerCameraLookAt(playerid, 139.9303,-96.2412,1.3052); | |
| 78 | SendClientMessage(playerid,COLOR_GREEN," "); | |
| 79 | - | new Spectate[MAX_PLAYERS],Float:TelePos[MAX_PLAYERS][6],RingTone[MAX_PLAYERS],SpCar; |
| 79 | + | |
| 80 | - | new bsnenter; |
| 80 | + | |
| 81 | - | new bsnexit; |
| 81 | + | |
| 82 | - | new rhlsenter; |
| 82 | + | |
| 83 | - | new rhlsexit; |
| 83 | + | |
| 84 | - | new lspdenter; |
| 84 | + | |
| 85 | - | new lspdexit; |
| 85 | + | |
| 86 | - | new Villaenter; |
| 86 | + | |
| 87 | - | new Villaexit; |
| 87 | + | |
| 88 | - | new FBIenter; |
| 88 | + | |
| 89 | - | new FBIexit; |
| 89 | + | |
| 90 | - | new tor; |
| 90 | + | |
| 91 | - | new tor3; |
| 91 | + | |
| 92 | - | new schranke; |
| 92 | + | |
| 93 | - | new tor1; |
| 93 | + | |
| 94 | - | new tor2; |
| 94 | + | |
| 95 | - | new tuere; |
| 95 | + | |
| 96 | - | new Peds[2][1]={{0},{1}};
|
| 96 | + | |
| 97 | - | new bool:pFirstLog[MAX_PLAYERS],TutTimer[MAX_PLAYERS],TutTime[MAX_PLAYERS]; |
| 97 | + | |
| 98 | - | forward Tutorial(playerid); |
| 98 | + | |
| 99 | SendClientMessage(playerid,COLOR_GREEN," "); | |
| 100 | SendClientMessage(playerid,COLOR_GREEN,"Ende des Tutorials"); | |
| 101 | - | enum pInfo |
| 101 | + | |
| 102 | SendClientMessage(playerid,COLOR_WHITE,"Falls weitere Fragen bestehen, frag einfach einen Admin!"); | |
| 103 | - | GmAdm,pArmy,pInt,pLocal,Skin,pCarschein,pBootschein,pFlugschein |
| 103 | + | |
| 104 | - | }; |
| 104 | + | |
| 105 | - | new PI[MAX_PLAYERS][pInfo]; |
| 105 | + | |
| 106 | KillTimer(TutTimer[playerid]); | |
| 107 | - | new allowedchars[MAX_ALLOWED_CHARS][2]={
|
| 107 | + | |
| 108 | - | "a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z", |
| 108 | + | |
| 109 | - | "A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z", |
| 109 | + | |
| 110 | - | "1","2","3","4","5","6","7","8","9","0","Ä","Ö","Ü","ß","ä","ö","ü","€","<",">", |
| 110 | + | |
| 111 | - | "!","@","#","$","%","^","&","*","(",")","-",":",";",",",".","?"," ","[","]","{","}","~","_","/","\"","="
|
| 111 | + | |
| 112 | - | }; |
| 112 | + | |
| 113 | } |