Doing that got it to show up in the error log so that's progress..
Now the error is
Error in expression <rike.Altis\spcheck.sqf"
if(!isDedicated _and !isMultiplayer) then {
deleteVehicl>
Error position: <_and !isMultiplayer) then {
deleteVehicl>
Error Missing )
So I put a ) next to !isDedicated
Get another error telling me to put a ; after the )
At this point doesn't that ruin the "and" statement? But once I have (!isDedicated); I get error
Error in expression <ke.Altis\spcheck.sqf"
if(!isDedicated); _and !isMultiplayer);
then {
deleteVehic>
Error position: <_and !isMultiplayer);
then {
deleteVehic>
[b]Error Undefined variable in expression: _and[/b]
Now I'm completely confused..........
BUT I GOT IT WORKING!!!
SO I tried something a bit different and went with
if (!isDedicated && !isMultiplayer) then {
deleteVehicle p2;
hint "Singleplayer Mode Activated";
}
Which works :D