27.01.2015, 08:30
Код:
///////////////////////////////////ARAЗ SATIN if(newstate == PLAYER_STATE_DRIVER){ if(strlen(AracBilgi[aid[GetPlayerVehicleID(playerid)]][aracsahip]) > 0){ if(!strcmp("[Yok]", AracBilgi[aid[GetPlayerVehicleID(playerid)]][aracsahip])){ new str[300]; format(str, sizeof(str), "{FFFFFF}** {FF6666}[BİLGİ]: {FFFFFF}Bu Araз Satılıktır.{FF6666}Fiyatı: {99FF00}$%d. {FFFFFF}Satın Almak İзin; {99FF00}/satınal {FFFFFF}Yazınız.", AracBilgi[aid[GetPlayerVehicleID(playerid)]][fiyat]); SendClientMessage(playerid, -1, str); if(IsPlayerAdmin(playerid)) TogVehicleEngine(GetPlayerVehicleID(playerid), 1); else TogVehicleEngine(GetPlayerVehicleID(playerid), 0); } else if(strcmp(Isim(playerid), AracBilgi[aid[GetPlayerVehicleID(playerid)]][aracsahip]); { new str[300]; format(str, sizeof(str), "{FFFFFF}** {FF6666}[BİLGİ]: {FFFFFF}Bu Aracın Sahibi: {99FF00}%s{FFFFFF}'dir. {FF6666}((UZAK DURUN))", AracBilgi[aid[GetPlayerVehicleID(playerid)]][aracsahip]); SendClientMessage(playerid, -1, str); if(AracBilgi[aid[GetPlayerVehicleID(playerid)]][alarmms] == 1) TogVehicleAlarm(GetPlayerVehicleID(playerid), 1), KillTimer(alarmtimer[GetPlayerVehicleID(playerid)]), alarmtimer[GetPlayerVehicleID(playerid)] = SetTimerEx("AlarmKapat", 30000, false, "d", aracc[secilenarac[playerid]]); RemovePlayerFromVehicle(playerid); } else { new str[300]; format(str, sizeof(str), "{FFFFFF}** {FF6666}[BİLGİ]: {FFFFFF}Aracınıza Hosgeldiniz {99FF00}''%s'' {FFFFFF}İyi Yolculuklar :)..", AracBilgi[aid[GetPlayerVehicleID(playerid)]][aracsahip]); TogVehicleEngine(GetPlayerVehicleID(playerid), 1); SendClientMessage(playerid, -1, str); }}}
Код:
E:\A-FR 2015\gamemodes\JUDY-2015.pwn(13163) : error 012: invalid function call, not a valid address E:\A-FR 2015\gamemodes\JUDY-2015.pwn(13163) : warning 215: expression has no effect E:\A-FR 2015\gamemodes\JUDY-2015.pwn(13163) : error 001: expected token: ";", but found ")" E:\A-FR 2015\gamemodes\JUDY-2015.pwn(13163) : error 029: invalid expression, assumed zero E:\A-FR 2015\gamemodes\JUDY-2015.pwn(13163) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.