PavelKrad | Дата: Среда, 18.09.2013, 22:26:15 | Сообщение # 1 |
Группа: Пользователи
Сообщений: 1
| C:\Users\Pavel\Desktop\Genix-Rp\gamemodes\Sweet.pwn(24142) : warning 213: tag mismatch C:\Users\Pavel\Desktop\Genix-Rp\gamemodes\Sweet.pwn(53770) : error 017: undefined symbol "SavePlayer" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
В строках: stock OnPlayerAmmoChange(playerid, newammo, oldammo) { if(newammo < oldammo) { switch(GetPlayerWeapon(playerid)) { case 24: { SetPVarInt(playerid, "SkillD",GetPVarInt(playerid,"SkillD") +1); if(GetPVarInt(playerid,"SkillD") >= Ammo_DEAGLE && PlayerInfo[playerid][pGunSkill][1] < 100) { PlayerInfo[playerid][pGunSkill][1]++; SetPVarInt(playerid, "SkillD",0); } } case 23: { SetPVarInt(playerid, "SkillSD",GetPVarInt(playerid,"SkillSD") +1); if(GetPVarInt(playerid,"SkillSD")>= Ammo_SDPISTOL && PlayerInfo[playerid][pGunSkill][0] < 100) { PlayerInfo[playerid][pGunSkill][0]++; SetPVarInt(playerid, "SkillSD",0); } } case 25: { SetPVarInt(playerid, "SkillShot",GetPVarInt(playerid,"SkillShot") +1); if(GetPVarInt(playerid,"SkillShot") >= Ammo_SHOTGUN && PlayerInfo[playerid][pGunSkill][2] < 100) { PlayerInfo[playerid][pGunSkill][2]++; SetPVarInt(playerid, "SkillShot",0); } } case 29: { SetPVarInt(playerid, "SkillMP5",GetPVarInt(playerid,"SkillMP5") +1); if(GetPVarInt(playerid,"SkillMP5") >= Ammo_MP5 && PlayerInfo[playerid][pGunSkill][3] < 100) { PlayerInfo[playerid][pGunSkill][3]++; SetPVarInt(playerid, "SkillMP5",0); } } case 30: { SetPVarInt(playerid, "SkillAk47",GetPVarInt(playerid,"SkillAk47") +1); if(GetPVarInt(playerid,"SkillAk47") >= Ammo_AK47 && PlayerInfo[playerid][pGunSkill][4] < 100) { PlayerInfo[playerid][pGunSkill][4]++; SetPVarInt(playerid, "SkillAk47",0); } } case 31: { SetPVarInt(playerid, "SkillM4",GetPVarInt(playerid,"SkillM4") +1); if(GetPVarInt(playerid,"SkillM4") >= Ammo_M4A1 && PlayerInfo[playerid][pGunSkill][5] < 100) { PlayerInfo[playerid][pGunSkill][5]++; SetPVarInt(playerid, "SkillM4",0); } } } SavePlayer(playerid);//rls } return 1; }
Сообщение отредактировал PavelKrad - Среда, 18.09.2013, 22:27:40 |
|
|
|
igjde | Дата: Пятница, 20.09.2013, 12:57:27 | Сообщение # 2 |
Группа: Пользователи
Сообщений: 50
| Ошибку выдает в том что (53770) в этой строке означают что моду не известен SavePlayer А вот решение Поставь ко всем new вот эту строку И покажи строку (24142) Потому что не видно где там у тебя ошибка
|
|
|
|