Всем привет,и так,у меня проблемка я вырезал систем авто с мода самп RPG ну вот,все вырезал но диалог с покупкой не могу сделать не пойму в чем проблема...
//==============================================================================
if(AutoInfo[vehicleid][aStats]==0)
{
new string[512];
format(string,sizeof(string),"Ñòàæ âîæäåíèÿ: %d\nÑòîèìîñòü: %d\nÂâåäèòå 2 öâåòà ÷åðåç çàïÿòóþ â îêîøêî\nÏðèìåð: [2,6] áåç êâàäðàòíûõ ñêîáîê è ïðîáåëîâ!\nÅñëè íå ââåäåòå, òî öâåò îñòàíåòñÿ òàêèì, êàêîé óñòàíîâëåí ñåé÷àñ",
AutoInfo[vehicleid][aKey], AutoInfo[vehicleid][aPrice]);
ShowPlayerDialog(playerid,920,DIALOG_STYLE_INPUT,"Àâòîðûíîê",string,"Ïðèíÿòü","Îòìåíà");
}
else
{
new newcar = GetPlayerVehicleID(playerid);
if(newcar <= 0 && newcar <= CAR_PROD)
{
if(vehicleid == PlayerInfo[playerid][pCarKey3] || vehicleid == PlayerInfo[playerid][pCarKey2] || vehicleid == PlayerInfo[playerid][pCarKey]) { }
else
{
SendClientMessage(playerid,COLOR_GREY," Ýòî íå âàø àâòîìîáèëü");
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
}
}
Вот от чего шибки и вот сами ошибки:
//==============================================================================
if(AutoInfo[vehicleid][aStats]==0)
{
new string[512];
format(string,sizeof(string),"Ñòàæ âîæäåíèÿ: %d\nÑòîèìîñòü: %d\nÂâåäèòå 2 öâåòà ÷åðåç çàïÿòóþ â îêîøêî\nÏðèìåð: [2,6] áåç êâàäðàòíûõ ñêîáîê è ïðîáåëîâ!\nÅñëè íå ââåäåòå, òî öâåò îñòàíåòñÿ òàêèì, êàêîé óñòàíîâëåí ñåé÷àñ",
AutoInfo[vehicleid][aKey], AutoInfo[vehicleid][aPrice]);
ShowPlayerDialog(playerid,920,DIALOG_STYLE_INPUT,"Àâòîðûíîê",string,"Ïðèíÿòü","Îòìåíà");
}
else
{
new newcar = GetPlayerVehicleID(playerid);
if(newcar <= 0 && newcar <= CAR_PROD)
{
if(vehicleid == PlayerInfo[playerid][pCarKey3] || vehicleid == PlayerInfo[playerid][pCarKey2] || vehicleid == PlayerInfo[playerid][pCarKey]) { }
else
{
SendClientMessage(playerid,COLOR_GREY," Ýòî íå âàø àâòîìîáèëü");
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
}
}
Вот от чего шибки и вот сами ошибки:
Код:
D:\îáðàç\CRMP\gamemodes\rp.pwn(2183) : error 004: function "SetPlayerCriminal" is not implemented
D:\îáðàç\CRMP\gamemodes\rp.pwn(2427) : error 004: function "ServerGivePlayerWeapons" is not implemented
D:\îáðàç\CRMP\gamemodes\rp.pwn(2634) : error 004: function "SetPlayerToTeamColor" is not implemented
D:\îáðàç\CRMP\gamemodes\rp.pwn(2659) : error 004: function "SetPlayerToTeamColor" is not implemented
D:\îáðàç\CRMP\gamemodes\rp.pwn(2704) : error 017: undefined symbol "PlayerMuteMessage"
D:\îáðàç\CRMP\gamemodes\rp.pwn(2721) : error 079: inconsistent return types (array & non-array)
D:\îáðàç\CRMP\gamemodes\rp.pwn(2753) : error 004: function "IsACopCar" is not implemented
D:\îáðàç\CRMP\gamemodes\rp.pwn(2756) : error 004: function "SetPlayerCriminal" is not implemented
D:\îáðàç\CRMP\gamemodes\rp.pwn(2758) : error 004: function "IsAnAmbulance" is not implemented
D:\îáðàç\CRMP\gamemodes\rp.pwn(2761) : error 004: function "SetPlayerCriminal" is not implemented
D:\îáðàç\CRMP\gamemodes\rp.pwn(2764) : error 079: inconsistent return types (array & non-array)
D:\îáðàç\CRMP\gamemodes\rp.pwn(2767) : error 029: invalid expression, assumed zero
D:\îáðàç\CRMP\gamemodes\rp.pwn(2767) : error 004: function "IsAPistol" is not implemented
D:\îáðàç\CRMP\gamemodes\rp.pwn(2769) : error 017: undefined symbol "gunid"
D:\îáðàç\CRMP\gamemodes\rp.pwn(2771) : error 079: inconsistent return types (array & non-array)
D:\îáðàç\CRMP\gamemodes\rp.pwn(2773) : error 079: inconsistent return types (array & non-array)
D:\îáðàç\CRMP\gamemodes\rp.pwn(2775) : warning 225: unreachable code
D:\îáðàç\CRMP\gamemodes\rp.pwn(2775) : error 029: invalid expression, assumed zero
D:\îáðàç\CRMP\gamemodes\rp.pwn(2775) : error 004: function "IsAMelee" is not implemented
D:\îáðàç\CRMP\gamemodes\rp.pwn(2777) : error 017: undefined symbol "gunid"
D:\îáðàç\CRMP\gamemodes\rp.pwn(2779) : error 079: inconsistent return types (array & non-array)
D:\îáðàç\CRMP\gamemodes\rp.pwn(2781) : error 079: inconsistent return types (array & non-array)
D:\îáðàç\CRMP\gamemodes\rp.pwn(2783) : warning 225: unreachable code
D:\îáðàç\CRMP\gamemodes\rp.pwn(2783) : error 029: invalid expression, assumed zero
D:\îáðàç\CRMP\gamemodes\rp.pwn(2783) : error 004: function "IsAGirlsStuff" is not implemented
D:\îáðàç\CRMP\gamemodes\rp.pwn(2785) : error 017: undefined symbol "gunid"
D:\îáðàç\CRMP\gamemodes\rp.pwn(2787) : error 079: inconsistent return types (array & non-array)
D:\îáðàç\CRMP\\gamemodes\rp.pwn(2789) : error 079: inconsistent return types (array & non-array)
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
26 Errors.