Пользователь
- Регистрация
- 12 Авг 2022
- Сообщения
- 59
- Автор темы
- #1
Вылазят такие ошибки понять не могу в чем проблема:
arizonarp.pwn(8676) : error 017: undefined symbol "f"
arizonarp.pwn(8676) : warning 202: number of arguments does not match definition
arizonarp.pwn(8676) : warning 202: number of arguments does not match definition
arizonarp.pwn(8676) : warning 202: number of arguments does not match definition
arizonarp.pwn(8676) : error 017: undefined symbol "PI"
arizonarp.pwn(8676) : error 029: invalid expression, assumed zero
arizonarp.pwn(8676) : fatal error 107: too many error messages on one line
Вот код:
stock saverewards(playerid)
{
if(!IsPlayerLogged[playerid]) return 0;
str_q[0] = EOS;
for(new i; i < 10; i++)
f(str_q, sizeof(str_q), "%s%i,", str_q, PI[playerid][pRewards]);
UpdatePlayerDataStr(playerid, "Rewards", str_q);
str_q[0] = EOS;
for(new i; i < 10; i++)
f(str_q, sizeof(str_q), "%s%i,", str_q, PI[playerid][pRewardsComplete]);
UpdatePlayerDataStr(playerid, "RewardsComplete", str_q);
return 1;
}
помогите срочно прошу
arizonarp.pwn(8676) : error 017: undefined symbol "f"
arizonarp.pwn(8676) : warning 202: number of arguments does not match definition
arizonarp.pwn(8676) : warning 202: number of arguments does not match definition
arizonarp.pwn(8676) : warning 202: number of arguments does not match definition
arizonarp.pwn(8676) : error 017: undefined symbol "PI"
arizonarp.pwn(8676) : error 029: invalid expression, assumed zero
arizonarp.pwn(8676) : fatal error 107: too many error messages on one line
Вот код:
stock saverewards(playerid)
{
if(!IsPlayerLogged[playerid]) return 0;
str_q[0] = EOS;
for(new i; i < 10; i++)
f(str_q, sizeof(str_q), "%s%i,", str_q, PI[playerid][pRewards]);
UpdatePlayerDataStr(playerid, "Rewards", str_q);
str_q[0] = EOS;
for(new i; i < 10; i++)
f(str_q, sizeof(str_q), "%s%i,", str_q, PI[playerid][pRewardsComplete]);
UpdatePlayerDataStr(playerid, "RewardsComplete", str_q);
return 1;
}
помогите срочно прошу