Доступ к архиву

Переход в группу "Пользователь"

300.00 ₽
Одноразовый платёж
Быстрый переход в группу "Пользователи", без надобности написания постов и ожидания.

Покупка дает возможность:
Быть полноправным участником форума
Нормальное копирование кода
Создавать темы
Скачивать файлы
Доступ к архиву Pawno-Info

Проблема!!!

Статус
В этой теме нельзя размещать новые ответы.

cycl

Новичок
Помогите с скриптом!!!
if(!strcmp(var0, "/buylevel", true))
{
if(IsPlayerConnected(playerid))
{
if(glob7AF14[playerid])
{
glob351E4[playerid][131] = GetPlayerMoney(playerid);
if(0 <= glob351E4[playerid][129])
{
new var12 = glob351E4[playerid][129] + 1;
new var13 = var12 * glob8D8;
new var14 = var12 * glob8DC;
new var15[256];
if(GetPlayerMoney(playerid) < var13)
{
format(var15, 256, " Ó âàñ íåò $%d çàðàáàòûâàé!", var13);
SendClientMessage(playerid, 0xB4B5B7FF, var15);
return 1;
}
if(glob351E4[playerid][130] < var14)
{
format(var15, 256, " Âàì íóæíî %d î÷êîâ îïûòà, â äàííûé ìîìåíò ó âàñ %d !", var14, glob351E4[playerid][130]);
SendClientMessage(playerid, 0xB4B5B7FF, var15);
return 1;
}
GivePlayerMoney(playerid, -var13);
glob351E4[playerid][130] = 0;
glob351E4[playerid][129]++;
format(var15, 256, " Âû êóïèëè %d óðîâåíü çà $%d", var12, var13);
SendClientMessage(playerid, 0xB4B5B7FF, var15);
ScoreUpdate();
GameTextForPlayer(playerid, "~y~+1 LEVELUP", 5000, 5);
}
return 1;
}
Вставляю в мод пише дохера ошибок вот:
C:\Users\Îëåã\Desktop\samp03csvr_R2-2_win32\gamemodes\CoHA.pwn(1658) : error 017: undefined symbol "strtok"
C:\Users\Îëåã\Desktop\samp03csvr_R2-2_win32\gamemodes\CoHA.pwn(1658) : error 033: array must be indexed (variable "cmd")
C:\Users\Îëåã\Desktop\samp03csvr_R2-2_win32\gamemodes\CoHA.pwn(1662) : error 017: undefined symbol "strtok"
C:\Users\Îëåã\Desktop\samp03csvr_R2-2_win32\gamemodes\CoHA.pwn(1662) : error 033: array must be indexed (variable "tmp")
C:\Users\Îëåã\Desktop\samp03csvr_R2-2_win32\gamemodes\CoHA.pwn(1666) : error 079: inconsistent return types (array & non-array)
C:\Users\Îëåã\Desktop\samp03csvr_R2-2_win32\gamemodes\CoHA.pwn(1670) : error 017: undefined symbol "strrest"
C:\Users\Îëåã\Desktop\samp03csvr_R2-2_win32\gamemodes\CoHA.pwn(1670) : error 033: array must be indexed (variable "gMessage")
C:\Users\Îëåã\Desktop\samp03csvr_R2-2_win32\gamemodes\CoHA.pwn(1674) : error 079: inconsistent return types (array & non-array)
C:\Users\Îëåã\Desktop\samp03csvr_R2-2_win32\gamemodes\CoHA.pwn(1679) : error 079: inconsistent return types (array & non-array)
C:\Users\Îëåã\Desktop\samp03csvr_R2-2_win32\gamemodes\CoHA.pwn(1694) : error 079: inconsistent return types (array & non-array)
C:\Users\Îëåã\Desktop\samp03csvr_R2-2_win32\gamemodes\CoHA.pwn(1705) : error 079: inconsistent return types (array & non-array)
C:\Users\Îëåã\Desktop\samp03csvr_R2-2_win32\gamemodes\CoHA.pwn(1712) : error 079: inconsistent return types (array & non-array)
C:\Users\Îëåã\Desktop\samp03csvr_R2-2_win32\gamemodes\CoHA.pwn(1738) : error 079: inconsistent return types (array & non-array)
C:\Users\Îëåã\Desktop\samp03csvr_R2-2_win32\gamemodes\CoHA.pwn(1746) : error 079: inconsistent return types (array & non-array)
C:\Users\Îëåã\Desktop\samp03csvr_R2-2_win32\gamemodes\CoHA.pwn(1754) : error 079: inconsistent return types (array & non-array)
C:\Users\Îëåã\Desktop\samp03csvr_R2-2_win32\gamemodes\CoHA.pwn(1762) : error 079: inconsistent return types (array & non-array)
C:\Users\Îëåã\Desktop\samp03csvr_R2-2_win32\gamemodes\CoHA.pwn(1770) : error 079: inconsistent return types (array & non-array)
C:\Users\Îëåã\Desktop\samp03csvr_R2-2_win32\gamemodes\CoHA.pwn(1778) : error 079: inconsistent return types (array & non-array)
C:\Users\Îëåã\Desktop\samp03csvr_R2-2_win32\gamemodes\CoHA.pwn(1786) : error 079: inconsistent return types (array & non-array)
C:\Users\Îëåã\Desktop\samp03csvr_R2-2_win32\gamemodes\CoHA.pwn(1794) : error 079: inconsistent return types (array & non-array)
C:\Users\Îëåã\Desktop\samp03csvr_R2-2_win32\gamemodes\CoHA.pwn(1802) : error 079: inconsistent return types (array & non-array)
C:\Users\Îëåã\Desktop\samp03csvr_R2-2_win32\gamemodes\CoHA.pwn(1810) : error 079: inconsistent return types (array & non-array)
C:\Users\Îëåã\Desktop\samp03csvr_R2-2_win32\gamemodes\CoHA.pwn(1818) : error 079: inconsistent return types (array & non-array)
C:\Users\Îëåã\Desktop\samp03csvr_R2-2_win32\gamemodes\CoHA.pwn(1825) : error 079: inconsistent return types (array & non-array)
C:\Users\Îëåã\Desktop\samp03csvr_R2-2_win32\gamemodes\CoHA.pwn(1834) : error 079: inconsistent return types (array & non-array)
C:\Users\Îëåã\Desktop\samp03csvr_R2-2_win32\gamemodes\CoHA.pwn(1836) : error 017: undefined symbol "var0"

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.

помогите)))

---------- Добавлено сообщение в 22:45 ---------- Предыдущее в 22:42 ----------

Дам плюсик!!!!
 
Последнее редактирование:
Статус
В этой теме нельзя размещать новые ответы.
Сверху Снизу