29.05.2015, 00:23
so pretty much I'm a terrible scripter that needs help from something that is probably very easy to fix:
Код HTML:
C:\Users\Zach\Desktop\Folders\Servers\SAMP\abc\gamemodes\RP.pwn(277) : error 010: invalid function or declaration C:\Users\Zach\Desktop\Folders\Servers\SAMP\abc\gamemodes\RP.pwn(280) : error 010: invalid function or declaration C:\Users\Zach\Desktop\Folders\Servers\SAMP\abc\gamemodes\RP.pwn(282) : error 054: unmatched closing brace ("}") C:\Users\Zach\Desktop\Folders\Servers\SAMP\abc\gamemodes\RP.pwn(284) : error 010: invalid function or declaration
Код HTML:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { if(DVehicles[1] || DVehicles[2] || DVehicles[3] || DVehicles[4] == vehicleid) { SendClientMessage(playerid, COLOR_LIGHTRED, "DELIVERY JOB:{FFFFFF} To start a Delivery Job use /deliverstock. (Rule: You may not use this vehicle for personal use)"); } else { //something else here if you are having a lock system } } if(PBVehicles[1] || PBVehicles[2] || PBVehicles[3] || PBVehicles[4] == vehicleid) { SendClientMessage(playerid, COLOR_LIGHTRED, "PIZZA JOB:{FFFFFF} To start a Pizza Job use /deliverpizza. (Rule: You may not use this vehicle for personal use)"); } else { //something else here if you are having a lock system } } return 1; }