sas240
Нуль
- Регистрация
- 23 Сен 2012
- Сообщения
- 7
- Лучшие ответы
- 0
- Репутация
- 0
Добрый день знатоки и гении. У меня такая проблема, я решил добавить к себе на сервер систему РП теста при реги. Но т.к. я нуб в скриптинге, решил взять готовую. И теперь ломаю голову. Прошу помогите мне с этим.
Вот всё что нужно:
Компилирование:
Вот сами коды:
ТЕКСДРАВ:
САМ ТЕСТ:
Прошу вас помогите!
Вот всё что нужно:
Компилирование:
HTML:
C:\Users\Aleks\Desktop\ORIGINS MOD!!!!\gamemodes\new.pwn(5169) : error 010: invalid function or declaration
C:\Users\Aleks\Desktop\ORIGINS MOD!!!!\gamemodes\new.pwn(5175) : error 010: invalid function or declaration
C:\Users\Aleks\Desktop\ORIGINS MOD!!!!\gamemodes\new.pwn(5182) : error 010: invalid function or declaration
C:\Users\Aleks\Desktop\ORIGINS MOD!!!!\gamemodes\new.pwn(5188) : error 010: invalid function or declaration
C:\Users\Aleks\Desktop\ORIGINS MOD!!!!\gamemodes\new.pwn(5195) : error 010: invalid function or declaration
C:\Users\Aleks\Desktop\ORIGINS MOD!!!!\gamemodes\new.pwn(5202) : error 010: invalid function or declaration
C:\Users\Aleks\Desktop\ORIGINS MOD!!!!\gamemodes\new.pwn(5206) : error 010: invalid function or declaration
C:\Users\Aleks\Desktop\ORIGINS MOD!!!!\gamemodes\new.pwn(5222) : error 010: invalid function or declaration
C:\Users\Aleks\Desktop\ORIGINS MOD!!!!\gamemodes\new.pwn(9804) : error 010: invalid function or declaration
C:\Users\Aleks\Desktop\ORIGINS MOD!!!!\gamemodes\new.pwn(9806) : error 010: invalid function or declaration
C:\Users\Aleks\Desktop\ORIGINS MOD!!!!\gamemodes\new.pwn(9809) : error 010: invalid function or declaration
C:\Users\Aleks\Desktop\ORIGINS MOD!!!!\gamemodes\new.pwn(9811) : error 010: invalid function or declaration
C:\Users\Aleks\Desktop\ORIGINS MOD!!!!\gamemodes\new.pwn(9816) : error 010: invalid function or declaration
C:\Users\Aleks\Desktop\ORIGINS MOD!!!!\gamemodes\new.pwn(9816) : error 010: invalid function or declaration
C:\Users\Aleks\Desktop\ORIGINS MOD!!!!\gamemodes\new.pwn(9816 -- 9817) : error 010: invalid function or declaration
C:\Users\Aleks\Desktop\ORIGINS MOD!!!!\gamemodes\new.pwn(9816 -- 9817) : fatal error 107: too many error messages on one line
Compilation aborted.
Pawn compiler 3.10.20160907 Copyright (c) 1997-2006, ITB CompuPhase
16 Errors.
ТЕКСДРАВ:
HTML:
name_rp_text[0] = CreatePlayerTextDraw(playerid, 198.235015, 184.083328, "usebox");
PlayerTextDrawLetterSize(playerid, name_rp_text[0], 0.000000, 1.328536);
PlayerTextDrawTextSize(playerid, name_rp_text[0], -0.588235, 0.000000);
PlayerTextDrawUseBox(playerid, name_rp_text[0], true);
PlayerTextDrawBoxColor(playerid, name_rp_text[0], 4617727);
name_rp_text[1] = CreatePlayerTextDraw(playerid, 96.941184, 183.166732, "1 ‹o£poc");
PlayerTextDrawLetterSize(playerid, name_rp_text[1], 0.307410, 1.261667);
PlayerTextDrawAlignment(playerid, name_rp_text[1], 2);
PlayerTextDrawSetShadow(playerid, name_rp_text[1], 0);
PlayerTextDrawBackgroundColor(playerid, name_rp_text[1], 51);
PlayerTextDrawFont(playerid, name_rp_text[1], 2);
name_rp_text[2] = CreatePlayerTextDraw(playerid, 198.764694, 200.249954, "usebox");
PlayerTextDrawLetterSize(playerid, name_rp_text[2], 0.000000, 12.199137);
PlayerTextDrawTextSize(playerid, name_rp_text[2], -0.117646, 0.000000);
PlayerTextDrawUseBox(playerid, name_rp_text[2], true);
PlayerTextDrawBoxColor(playerid, name_rp_text[2], 421075455);
name_rp_text[3] = CreatePlayerTextDraw(playerid, 97.882385, 201.249954 , "- –O„ìO_‡…_ŒPO‹O‰…PO‹A’_ŒO‡…‰…«_ìA_ŒO‚Oì«,");
PlayerTextDrawLetterSize(playerid, name_rp_text[3], 0.154469, 0.993332);
PlayerTextDrawAlignment(playerid, name_rp_text[3], 2);
PlayerTextDrawSetShadow(playerid, name_rp_text[3], 0);
PlayerTextDrawBackgroundColor(playerid, name_rp_text[3], 51);
PlayerTextDrawFont(playerid, name_rp_text[3], 2);
name_rp_text[4] = CreatePlayerTextDraw(playerid, 99.350898, 215.083343, "ecžœ ®e ¤e™o šeža¦© œ ‹¨ xo¦œ¦e £opaŸ¢že¤©c¬?");
PlayerTextDrawLetterSize(playerid, name_rp_text[4], 0.154467, 0.993332);
PlayerTextDrawAlignment(playerid, name_rp_text[4], 2);
PlayerTextDrawSetShadow(playerid, name_rp_text[4], 0);
PlayerTextDrawBackgroundColor(playerid, name_rp_text[4], 51);
PlayerTextDrawFont(playerid, name_rp_text[4], 2);
name_rp_text[5] = CreatePlayerTextDraw(playerid, 1.882352, 239.166671, "LD_SPAC:white");
name_rp_text[6] = CreatePlayerTextDraw(playerid, 1.470587, 257.666625, "LD_SPAC:white");
name_rp_text[7] = CreatePlayerTextDraw(playerid, 1.529412, 276.166656, "LD_SPAC:white");
name_rp_text[8] = CreatePlayerTextDraw(playerid, 1.588235, 294.083404, "LD_SPAC:white");
for(new i = 5; i < 9; i++)
{
PlayerTextDrawLetterSize(playerid, name_rp_text[i], 0.000000, 0.000000);
PlayerTextDrawTextSize(playerid, name_rp_text[i], 195.294113, 13.416655);
PlayerTextDrawAlignment(playerid, name_rp_text[i], 1);
PlayerTextDrawColor(playerid, name_rp_text[i], 4617727);
PlayerTextDrawUseBox(playerid, name_rp_text[i], true);
PlayerTextDrawBoxColor(playerid, name_rp_text[i], 255);
PlayerTextDrawSetShadow(playerid, name_rp_text[i], 0);
PlayerTextDrawSetOutline(playerid, name_rp_text[i], 0);
PlayerTextDrawFont(playerid, name_rp_text[i], 4);
PlayerTextDrawSetSelectable(playerid, name_rp_text[i], true);
}
name_rp_text[9] = CreatePlayerTextDraw(playerid, 95.588264, 240.749954, "- ƒa, ª¦o ›e ko£¨.");
name_rp_text[10] = CreatePlayerTextDraw(playerid, 98.943275, 259.249938, "- He¦, ®y›®o ¢ec¦œ ce—¬ ašek¢a¦®o«.");
name_rp_text[11] = CreatePlayerTextDraw(playerid, 99.472686, 278.333282, "- “¦o œ™pa ¤¦o xo¤y ¦o œ šeža«.");
for(new i = 9; i < 12; i++)
{
PlayerTextDrawLetterSize(playerid, name_rp_text[i], 0.154469, 0.993332);
PlayerTextDrawAlignment(playerid, name_rp_text[i], 2);
PlayerTextDrawSetShadow(playerid, name_rp_text[i], 0);
PlayerTextDrawBackgroundColor(playerid, name_rp_text[i], 51);
PlayerTextDrawFont(playerid, name_rp_text[i], 2);
}
HTML:
if(playertextid == name_rp_text[playerid][5] || playertextid == name_rp_text[playerid][6] || playertextid == name_rp_text[playerid][7]|| playertextid == name_rp_text[playerid][8])
{
if(GetPVarInt(playerid, "true_playertextid") == _:playertextid)
{
// new string[128];
switch(GetPVarInt(playerid, "questid"))
{
case 1:
{
SetPVarInt(playerid, "true_playertextid", _:name_rp_text[playerid][6]);
SetPVarInt(playerid, "questid", 2);
SCM(playerid , COLOR_RED , "* Îòâåò âåðíûé.");
formate(string,sizeof(string),TranslateText("2 Âîïðîñ"));
PlayerTextDrawSetString(playerid, name_rp_text[playerid][1],string);
formate(string,sizeof(string),TranslateText("Mo›®o žœ œc£ož©Ÿo¢a¦© £p¨›kœ c ‰ež©«"));
PlayerTextDrawSetString(playerid, name_rp_text[playerid][3],string);
formate(string,sizeof(string),TranslateText("áûñòðîãî ïåðåìåùåíèÿ?"));
PlayerTextDrawSetString(playerid, name_rp_text[playerid][4],string);
formate(string,sizeof(string),TranslateText("- Äà, ýòî æå èãðà."));
PlayerTextDrawSetString(playerid, name_rp_text[playerid][9],string);
formate(string,sizeof(string),TranslateText("- He¦, ®a PŒ cep¢epax £p¨›kœ Ÿa£pe¡e®¨."));
PlayerTextDrawSetString(playerid, name_rp_text[playerid][10],string);
formate(string,sizeof(string),TranslateText("- Ecžœ ®œko™o p¬šo¯ ®e¦y, ¦o ¯o›®o."));
PlayerTextDrawSetString(playerid, name_rp_text[playerid][11],string);
}
case 2:
{
SetPVarInt(playerid, "true_playertextid", _:name_rp_text[playerid][6]);
SetPVarInt(playerid, "questid", 3);
SCM(playerid , COLOR_RED , "* Îòâåò âåðíûé.");
formate(string,sizeof(string),TranslateText("3 Âîïðîñ"));
PlayerTextDrawSetString(playerid, name_rp_text[playerid][1],string);
formate(string,sizeof(string),TranslateText("Ìîæíî ëè ïåðåäàâàòü äåíüãè èëè èìóùåñòâî"));
PlayerTextDrawSetString(playerid, name_rp_text[playerid][3],string);
formate(string,sizeof(string),TranslateText("ìåæäó ñâîèìè àêêàóíòàìè?"));
PlayerTextDrawSetString(playerid, name_rp_text[playerid][4],string);
formate(string,sizeof(string),TranslateText("- äà,âåäü ýòî ìîè àêêàóíòû."));
PlayerTextDrawSetString(playerid, name_rp_text[playerid][9],string);
formate(string,sizeof(string),TranslateText("- íåò, ýòî çàïðåùåíî."));
PlayerTextDrawSetString(playerid, name_rp_text[playerid][10],string);
formate(string,sizeof(string),TranslateText("- ¯o›®o ecžœ ª¦o ®œk¦o ®e yŸ®ae¦."));
PlayerTextDrawSetString(playerid, name_rp_text[playerid][11],string);
}
case 3:
{
SetPVarInt(playerid, "true_playertextid", _:name_rp_text[playerid][7]);
SetPVarInt(playerid, "questid", 4);
SCM(playerid , COLOR_RED , "* Îòâåò âåðíûé.");
formate(string,sizeof(string),TranslateText("4 Âîïðîñ"));
PlayerTextDrawSetString(playerid, name_rp_text[playerid][1],string);
formate(string,sizeof(string),TranslateText("¤¦o šeža¦©, ecžœ ¢¨ ¢œšœ¦e ®apy¥e®œe œ™poka?"));
PlayerTextDrawSetString(playerid, name_rp_text[playerid][3],string);
formate(string,sizeof(string),TranslateText(""));
PlayerTextDrawSetString(playerid, name_rp_text[playerid][4],string);
formate(string,sizeof(string),TranslateText("- Óáüþ åãî."));
PlayerTextDrawSetString(playerid, name_rp_text[playerid][9],string);
formate(string,sizeof(string),TranslateText("- Ïðîèãíàðèðóþ."));
PlayerTextDrawSetString(playerid, name_rp_text[playerid][10],string);
formate(string,sizeof(string),TranslateText("- Cšeža« ckpœ®¥o¦ œ £oŸo¢y a¯œ®œc¦pa‰œ«."));
PlayerTextDrawSetString(playerid, name_rp_text[playerid][11],string);
}
case 4:
{
SetPVarInt(playerid, "true_playertextid", _:name_rp_text[playerid][6]);
SetPVarInt(playerid, "questid", 5);
SCM(playerid , COLOR_RED , "* Îòâåò âåðíûé.");
formate(string,sizeof(string),TranslateText("5 Âîïðîñ"));
PlayerTextDrawSetString(playerid, name_rp_text[playerid][1],string);
formate(string,sizeof(string),TranslateText("- Mo›®o žœ ¢¨xošœ¦© ¢ AK ¢o ¢pe¯¬ PŒ cœ¦ya‰œœ?"));
PlayerTextDrawSetString(playerid, name_rp_text[playerid][3],string);
formate(string,sizeof(string),TranslateText(""));
PlayerTextDrawSetString(playerid, name_rp_text[playerid][4],string);
formate(string,sizeof(string),TranslateText("- Äà, åñëè íóæíî."));
PlayerTextDrawSetString(playerid, name_rp_text[playerid][9],string);
formate(string,sizeof(string),TranslateText("- ƒa, ®o ®y›®o £pešy£pešœ¦© ¢ce c¦opo®¨ o— o¦xoše."));
PlayerTextDrawSetString(playerid, name_rp_text[playerid][10],string);
formate(string,sizeof(string),TranslateText("- ƒa, £poc¦o ¯o›®o y¦œ œžœ ¢oo—¡e ¢¨¦œ œŸ œ™p¨."));
PlayerTextDrawSetString(playerid, name_rp_text[playerid][11],string);
}
case 5:
{
SetPVarInt(playerid, "true_playertextid", _:name_rp_text[playerid][6]);
SetPVarInt(playerid, "questid", 6);
SCM(playerid , COLOR_RED , "* Îòâåò âåðíûé.");
formate(string,sizeof(string),TranslateText("6 Âîïðîñ"));
PlayerTextDrawSetString(playerid, name_rp_text[playerid][1],string);
formate(string,sizeof(string),TranslateText("¦o ¦akoe IC œ®op¯a‰œ¬?"));
PlayerTextDrawSetString(playerid, name_rp_text[playerid][3],string);
formate(string,sizeof(string),TranslateText(""));
PlayerTextDrawSetString(playerid, name_rp_text[playerid][4],string);
formate(string,sizeof(string),TranslateText("- O—¡a¬ œ®op¯a‰œ¬."));
PlayerTextDrawSetString(playerid, name_rp_text[playerid][9],string);
formate(string,sizeof(string),TranslateText("- …™po¢a¬ œ®op¯a‰œ¬."));
PlayerTextDrawSetString(playerid, name_rp_text[playerid][10],string);
formate(string,sizeof(string),TranslateText("- ‹®eœ™po¢a¬ œ®op¯a‰œ¬."));
PlayerTextDrawSetString(playerid, name_rp_text[playerid][11],string);
}
case 6:
{
SetPVarInt(playerid, "true_playertextid", _:name_rp_text[playerid][7]);
SetPVarInt(playerid, "questid", 7);
SCM(playerid , COLOR_RED , "* Îòâåò âåðíûé.");
formate(string,sizeof(string),TranslateText("7 Âîïðîñ"));
PlayerTextDrawSetString(playerid, name_rp_text[playerid][1],string);
formate(string,sizeof(string),TranslateText("×òî òàêîå ÎÎÑ èíôîðìàöèÿ?"));
PlayerTextDrawSetString(playerid, name_rp_text[playerid][3],string);
formate(string,sizeof(string),TranslateText(""));
PlayerTextDrawSetString(playerid, name_rp_text[playerid][4],string);
formate(string,sizeof(string),TranslateText("- Îáùàÿ èíôîðìàöèÿ."));
PlayerTextDrawSetString(playerid, name_rp_text[playerid][9],string);
formate(string,sizeof(string),TranslateText("- Èãðîâàÿ èíôîðìàöèÿ."));
PlayerTextDrawSetString(playerid, name_rp_text[playerid][10],string);
formate(string,sizeof(string),TranslateText("- Âíåèãðîâàÿ èíôîðìàöèÿ."));
PlayerTextDrawSetString(playerid, name_rp_text[playerid][11],string);
}
case 7:
{
SetPVarInt(playerid, "true_playertextid", _:name_rp_text[playerid][6]);
SetPVarInt(playerid, "questid", 8);
SCM(playerid , COLOR_RED , "* Îòâåò âåðíûé.");
formate(string,sizeof(string),TranslateText("8 Âîïðîñ"));
PlayerTextDrawSetString(playerid, name_rp_text[playerid][1],string);
formate(string,sizeof(string),TranslateText("×òî òàêîå MG?"));
PlayerTextDrawSetString(playerid, name_rp_text[playerid][3],string);
formate(string,sizeof(string),TranslateText(""));
PlayerTextDrawSetString(playerid, name_rp_text[playerid][4],string);
formate(string,sizeof(string),TranslateText("- Ìåòàòåëüíàÿ ãðàíàòà."));
PlayerTextDrawSetString(playerid, name_rp_text[playerid][9],string);
formate(string,sizeof(string),TranslateText("- Èñïîëüçîâàíèå ÎÎÑ â IC."));
PlayerTextDrawSetString(playerid, name_rp_text[playerid][10],string);
formate(string,sizeof(string),TranslateText("- Óáèéñòâî áåç ïðè÷èíû."));
PlayerTextDrawSetString(playerid, name_rp_text[playerid][11],string);
}
case 8:
{
SetPVarInt(playerid, "true_playertextid", _:name_rp_text[playerid][5]);
SetPVarInt(playerid, "questid", 9);
SCM(playerid , COLOR_RED , "* Îòâåò âåðíûé.");
formate(string,sizeof(string),TranslateText("9 Âîïðîñ"));
PlayerTextDrawSetString(playerid, name_rp_text[playerid][1],string);
formate(string,sizeof(string),TranslateText("×òî òàêîå RP?"));
PlayerTextDrawSetString(playerid, name_rp_text[playerid][3],string);
formate(string,sizeof(string),TranslateText(""));
PlayerTextDrawSetString(playerid, name_rp_text[playerid][4],string);
formate(string,sizeof(string),TranslateText("- Èãðà ïî ðîëÿì."));
PlayerTextDrawSetString(playerid, name_rp_text[playerid][9],string);
formate(string,sizeof(string),TranslateText("- Áåã ñ ïðèæêîì."));
PlayerTextDrawSetString(playerid, name_rp_text[playerid][10],string);
formate(string,sizeof(string),TranslateText("- Èãðà ñ ÷èò ïðîãðàììàìè."));
PlayerTextDrawSetString(playerid, name_rp_text[playerid][11],string);
}
case 9:
{
// Ïåðåõîä íà àâòîðèçàöèþ èëè ñëåäóþùèé äèàëîã....
}
}
}
else SCM(playerid , COLOR_RED , "* Îòâåò íå âåðíûé."), KickFix(playerid); // íå âåðíûé îòâåò èç 4 âàðèàíòîâ êèê
}