Danil22
Умник
Помогите чем можете)
PHP:
C:\Users\Äàíèèë\Desktop\Âñ¸ òóò\ðàá.ñòîë\WinRAR archive\gamemodes\brillante.pwn(1027) : error 017: undefined symbol "pLogin"
C:\Users\Äàíèèë\Desktop\Âñ¸ òóò\ðàá.ñòîë\WinRAR archive\gamemodes\brillante.pwn(1029) : error 017: undefined symbol "tmp"
C:\Users\Äàíèèë\Desktop\Âñ¸ òóò\ðàá.ñòîë\WinRAR archive\gamemodes\brillante.pwn(1029) : error 017: undefined symbol "strtok"
C:\Users\Äàíèèë\Desktop\Âñ¸ òóò\ðàá.ñòîë\WinRAR archive\gamemodes\brillante.pwn(1030) : error 017: undefined symbol "tmp"
C:\Users\Äàíèèë\Desktop\Âñ¸ òóò\ðàá.ñòîë\WinRAR archive\gamemodes\brillante.pwn(1031) : error 017: undefined symbol "ReturnUser"
C:\Users\Äàíèèë\Desktop\Âñ¸ òóò\ðàá.ñòîë\WinRAR archive\gamemodes\brillante.pwn(1032) : error 017: undefined symbol "tmp"
C:\Users\Äàíèèë\Desktop\Âñ¸ òóò\ðàá.ñòîë\WinRAR archive\gamemodes\brillante.pwn(1032) : error 017: undefined symbol "strtok"
C:\Users\Äàíèèë\Desktop\Âñ¸ òóò\ðàá.ñòîë\WinRAR archive\gamemodes\brillante.pwn(1033) : error 017: undefined symbol "tmp"
C:\Users\Äàíèèë\Desktop\Âñ¸ òóò\ðàá.ñòîë\WinRAR archive\gamemodes\brillante.pwn(1034) : error 017: undefined symbol "tmp"
C:\Users\Äàíèèë\Desktop\Âñ¸ òóò\ðàá.ñòîë\WinRAR archive\gamemodes\brillante.pwn(1037) : error 017: undefined symbol "PlayerInfo"
C:\Users\Äàíèèë\Desktop\Âñ¸ òóò\ðàá.ñòîë\WinRAR archive\gamemodes\brillante.pwn(1037) : warning 215: expression has no effect
C:\Users\Äàíèèë\Desktop\Âñ¸ òóò\ðàá.ñòîë\WinRAR archive\gamemodes\brillante.pwn(1037) : error 001: expected token: ";", but found "]"
C:\Users\Äàíèèë\Desktop\Âñ¸ òóò\ðàá.ñòîë\WinRAR archive\gamemodes\brillante.pwn(1037) : error 029: invalid expression, assumed zero
C:\Users\Äàíèèë\Desktop\Âñ¸ òóò\ðàá.ñòîë\WinRAR archive\gamemodes\brillante.pwn(1037) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
13 Errors.
PHP:
if(strcmp(cmd, "/dice", true) == 0)
{
if(PlayerInfo[playerid][pLogin] == 0) return true;
if(!PlayerToPoint(30.0,playerid,1130.7448,-1.4491,1000.6797)) return SendClientMessage(playerid, -1, "Вы должны находиться в казино!");
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) return SendClientMessage(playerid, COLOR_WHITE, "Введите: /dice [id игрока] [ставка]");
new giveplayerid = ReturnUser(tmp);
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) return SendClientMessage(playerid, COLOR_WHITE, "Введите: /dice [id игрока] [ставка]");
new price = strval(tmp);
if(price < 100 || price > 500000) return SendClientMessage(playerid, -1, "Минимальная ставка 100$ максимальная 500 000$");
if(ZapretDice[giveplayerid] == 1) return SendClientMessage(playerid, -1, "В данный момент игрок не может играть!");
if(PlayerInfo[giveplayerid][pCash] < price) return SendClientMessage(playerid, -1, "У этого игрока нет столько денег!");
if(dicetime > gettime()) return SendClientMessage(playerid, -1, "В данный момент вы не можете играть!");
if(!IsPlayerConnected(giveplayerid)) return true;
if(!ProetectorS(6.0, playerid, giveplayerid)) return true;
if(giveplayerid == playerid) return true;
format(YCMDstr, sizeof(YCMDstr), "Вы предложили %s бросить кости. Ставка: $%i",Name(giveplayerid),price);
SendClientMessage(playerid, 0x6495EDFF, YCMDstr);
format(YCMDstr, sizeof(YCMDstr), "%s предлагает бросить кости. Ставка: $%i",Name(playerid),price);
SendClientMessage(giveplayerid, 0x6495EDFF, YCMDstr);
SendMes(giveplayerid, COLOR_WHITE, "Нажмите {48FC23}Y {FFFFFF}чтобы согласиться {FF0000}N {FFFFFF}для отказа");
ZapretDice[playerid] = 1;
KostiName[giveplayerid] = playerid;
KostiMoney[giveplayerid] = price;
return true;
}
Код:
p_id,
p_name[24],
p_pass[15],
p_mail[30],
p_sex, p_skin,
p_regip[30], p_regdate[15],
p_money,
Float:p_health,
p_lastlog[15],
Float:p_satiety,
p_level, p_exp,
p_played, p_house,
p_spawn, p_ch_id,
Float:p_car_miliage, Float:p_car_fuel,
p_car_engine, p_car_model, p_car_color[2],
p_car_cost, p_car_spawn,
p_biz, p_biz_type,
p_tel, p_tel_num,Float:p_wsatiety,
Последнее редактирование:
