31.08.2013, 11:55
Today I've tried to do a little script in my gamemode about trucker etc.. So I've done everything, when a player enter the vehicle with the model id a dialog will appear showing if he want to start his job or not, if he click on "No" then he'll be ejected from the vehicle, if he clicks "Start" aka "Yes" then he'll proceed with his job, when he click on yes a checkpoint will appear:-
But when I compile it says something about another cmd?
Code:
Error:
Код:
SetPlayerCheckpoint(playerid,trucker1,5.0); // << trucker1 is defined yes.
Code:
Код:
if(dialogid == dtrucker) { if(!response) return RemovePlayerFromVehicle(playerid); if(response) { SetPlayerCheckpoint(playerid,trucker1,5.0); }
Код:
C:\Users\ABC\Desktop\0.3x Package\gamemodes\&&&&.pwn(1778) : warning 217: loose indentation C:\Users\ABC\Desktop\0.3x Package\gamemodes\&&&&.pwn(1839) : warning 217: loose indentation C:\Users\ABC\Desktop\0.3x Package\gamemodes\&&&&.pwn(1839) : error 029: invalid expression, assumed zero C:\Users\ABC\Desktop\0.3x Package\gamemodes\&&&&.pwn(1839) : error 017: undefined symbol "cmd_aduty" C:\Users\ABC\Desktop\0.3x Package\gamemodes\&&&&.pwn(1839) : error 029: invalid expression, assumed zero C:\Users\ABC\Desktop\0.3x Package\gamemodes\&&&&.pwn(1839) : fatal error 107: too many error messages on one line